ProjectileModel no longer abstract. Implemented constructor in WeaponModel using ProjectileModel
Added javadoc to models and enums for Projectile and Weapon
Made field projectile final in Weapons
Added enum Teams. Added field player in GameState. Added constructor in PlayerToken. Implemented Teams in PlayerModel
Teams contains the different teams.
Field player in GameState is of type PlayerToken.
PlayerToken constructor takes PlayerModel as parameter.
Overriding update and draw in Token
Added tagColor in Teams
Major changes. Started implementing animation. Added abstract class Model. Added constructors in Token classes.
Model contains name and imageSize
Player-, Projectile-, and WeaponToken now inherits from Model
The enums Projectiles and Weapons now contains imageWidth and imageHeight
Updated Player-, Projectile-, and WeaponToken to use constructor from super
Started implementing animation in Token.
Added setImages in Token and implemented in tokens. Added getModel where it was missing.
Merge branch 'Gameplay'
Added GameLayer
Added rotation to tokens (when drawing).
Player does not rotate
Weapon rotates depending on where it is pointing. - Not implemented
Projectile rotates depending on velocity
.gitignore updated. Added game/res/drawable
Added getter for tagColor in Teams
Added possibility for drawing of debug information. Toggle debugging manually in Constants
Now using Model for getting name and image sizes in Token.
Replaced getImageSize with individual methods for width and height in Model
Changed constructor in Token to use only Model and updated the individual tokens to reflect this change.
Added position to constructors in tokens. Updated GameLayer to reflect this change
Fixed bug where gameWorld was not updated in GameState.update()
Implemented a temporary image for a player
Image size was set in PlayerModel
Added the image in PlayerToken
Program wide cleanup. Organized imports and did some formatting
Merge branch 'Gameplay'