Constructor
new Trophies(game)
Make a new trophy system and setup the trophies.
Parameters:
Name | Type | Description |
---|---|---|
game |
SpaceInvaders | The current game instance. |
Properties:
Name | Type | Description |
---|---|---|
game |
SpaceInvaders | The current game instance |
trophies |
array | Array of trophies for this game |
- Source:
Methods
reset()
Reset the trophies
- Source:
- To Do:
-
- Something is meant to happen here?
update()
Update loop issues update to each trophy
- Source: