Added an EnemyStateComponent and an objects inspector to detect if an object is an enemy.
CollisionDetectionComponent signal has 2 parameters: itself and the other component. It is a good practice to pass the instance itself in every signal.
Collision signal signature changed.
EnemyStateComponent support.
A MapObject can be queried if it has a specific component.
Player lives support.
GameHUD will display the player lives.
Player lives set to 3.
Lives 0 limit is more explicit (and fixes a bug with overflow)
Added a PlayerLivesControllerComponent that will remove lives from the player when the player object collides against an enemy.
Xcode project updated.
Android project updated.
There was a bug that made the stats labels look too small when the scale factor was set to 2