1 / 13

Fish Eats/Grows

Angela DiCicco 9/20/05. Fish Eats/Grows. Fish. Scene. energy level Scene position (x,y) size of fish food intake (digestion). (x,y) coordinates/ boundaries (background, foreground). Located in. Contains. eats. Energy increased. Located in. Food. Fish World. position (x,y) Scene

siusan
Download Presentation

Fish Eats/Grows

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. Angela DiCicco 9/20/05 Fish Eats/Grows Fish Scene energy level Scene position (x,y) size of fish food intake (digestion) (x,y) coordinates/ boundaries (background, foreground) Located in Contains eats Energy increased Located in Food Fish World position (x,y) Scene amount of pellets Scene[ ]

  2. Angela DiCicco 9/21/05 Fish Fight Fish Scene energy level Scene position (x,y) size of fish food intake (digestion) fight() (x,y) coordinates/ boundaries (background, foreground) Located in Contains Fish World Scene[ ] Fights

  3. Angela DiCicco 9/21/05 Fish Dies Fish Scene energy level Scene position (x,y) size of fish Food intake (digestion) Fight() (x,y) coordinates/ boundaries (background, foreground) Located in Informs of death Loss of Energy Potential Death Contains encounters Located in Hazards Fish World position (x,y) Scene Randomized outcomes Scene[ ] {Fish death also occurs when fish eaten by other fish, certain hazards cause immediate death, or when there is a loss of all energy (caused by fights, hazards, or timer)}

  4. Angela DiCicco 9/21/05 Fish Loses Energy Fish Scene energy level Scene position (x,y) size of fish food intake (digestion) Fight() (x,y) coordinates/ boundaries (background, foreground) Located in Loss of Energy Contains encounters Located in Hazards Fish World position (x,y) Scene Randomized outcomes Scene[ ] {Energy loss is also caused by timer class (utility), and by fish fights}

  5. Jamie Howard Bottom-Dwellers eat Bottom-Dwellers Food eats Position (x,y)Scene position (x,y) Scene amount of pellets Located in Fishworld Scene SceneNum Located in Contains SceneNum

  6. User Navigates Fish Fish Position (x,y)Scenedirection Contains Requests draw Scene Changes direction Foregreoundbackground Contains Fishworld SceneNum Direction(key) Requestsdraw

  7. Abstract View Abstractview Fishworld Contains EnergyLevel Size World SceneNum EnergyLevel Size World display Request information ( position, scene, size, energy level) Fish Request information ( position, scene, size, energy level) position, scene, size, energy leveldirection

  8. U s e r l o g s o n FishWorld Nickname[ ] Fish[] Scene[] or scene[] [] Abstract view Prompt for name, Password, Fish selection Felix Rosen

  9. G a m e S t a r t s Hazard BottmoDweller {Hazards are created after game start} Pos (x,y) SceNumber Pos (x,y) SceNumber Creates, positions Creates, positions Fish Assign image set Energy level Scene Pos (x,y) Color FishWorld Assign position Fish[] Scene[] or scene[] [] AbstractView Creates Located Scene Creates, Draws Contaiins SceNumber Foregroundbackground Felix Rosen

  10. F i s h e n c o u n t e r s h a z a r d Fish Hazard Swim into Energy level Scene Pos (x,y) Scene Pos (x,y) Damage level** Damage Located Located FishWorld Scene SceNumber Contains ** How much damage the hazard will cause on the fish Felix Rosen

  11. P l a y e r w i n s g a m e Fish Fish FishWorldGame Communicate status of game Energy level Scene Pos (x,y) Color Color[] NrOfPlayers PlayersLeft TimeLeft Communicate fish dies Felix Rosen

  12. Automated Fish Fish World Food Scene Fish Energy levelPosition (x,y)Scene Number Position (x,y)Scene Number Energy levelPosition (x,y)Scene Number Scene Number Nate Baechtold Automated Fish Navigates Updates scenes Inquire fish position/size draws itself Contains Inquire fish/food position, size draws Inquire position

  13. Fish World Fish Scene Food Energy levelPosition (x,y)Scene Number IncreaseEnergy(int) Scene Number Scene Number Nate Baechtold Automated Fish Eats {inherit this behavior from fish} Eats Increases Energy Located in Located in Contains

More Related