Skip to content

Game Model

ShubinJerry-Yuan edited this page Apr 3, 2021 · 18 revisions

FishGame

Variables

  • objectStorage: An ArrayList use to handle all all GameObjects
  • life: the number of life of the user remains
  • points: the number of points user receive from eating food and other fishes
  • health: the number of health that user remains
  • level: the current level that the player is in
  • numberOfFood: the number of food that currently exists
  • numberOfType1Fish: the number of the first type of fish that currently exists
  • numberOfType2Fish: the number of the second type of fish food that currently exists
  • numberOfType3Fish: the number of the third type of fish food that currently exists
  • numberOfPoisonFish: the number of the poison fish type of fish food that currently exists

Clone this wiki locally