Java
This presentation is the property of its rightful owner.
Sponsored Links
1 / 6

Java PowerPoint PPT Presentation


  • 89 Views
  • Uploaded on
  • Presentation posted in: General

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

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Java

Java

Animation


Animation is different

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


Model ii

Set initial position

Move one step

No collaborators…

…but must allow access from the View

Model II

Model

Same as before!


View ii

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


Controller ii

Create Model

Create View

Give View access to Model

Start and stop View

Model (setup)

View

Controller II

Controller


The end

The End


  • Login