1 / 6

Java

Java. Animation. Animation is different. If the goal is animation, the emphasis is on the animated display, not the model To get the next animation frame, the View needs to control the Model The user has to control the Model indirectly, through the View

aitana
Download Presentation

Java

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Java Animation

  2. Animation is different • If the goal is animation, the emphasis is on the animated display, not the model • To get the next animation frame, the View needs to control the Model • The user has to control the Model indirectly, through the View • If the simulation is paramount, the animation needs to just do the best it can

  3. Set initial position Move one step No collaborators… …but must allow access from the View Model II Model Same as before!

  4. Take orders from the Controller Control the Model Display the Model Accept orders from Controller Give orders to Model Access state of Model View II View

  5. Create Model Create View Give View access to Model Start and stop View Model (setup) View Controller II Controller

  6. The End

More Related