-
Notifications
You must be signed in to change notification settings - Fork 2
Character
Alex Land edited this page Aug 16, 2018
·
1 revision
This class is a data structure containing information relevant for a character in the game, along with methods for handling that data.
An enum defining a mapping between the name of a character and its internal icon ID.
An enum defining the possible states a character can be in.
The map marker for the character.
The character type.
The character state.
Constructor. Assigns parameters to their respective fields.
Convenience method for asking if the current character is Pacman.
Update the location of the character's marker.
Update the state of the character.
Update the visibility of the character's marker.
- Home
- Overview
- Configuration
- Reference
- Activity and Fragment
- API
- Controller
- Model
- Other functionality