Game objects have zones that trigger actions when they overlap with other gameObject zones.
Enemies and Playercharacter can collide.
GameObjects know their current speed (in either x or y direction) and whether they are moving (in either x or y direction)
Objects only resolve collisions when they are moving.
Minor name change.
Enemies attack before player.
Resolve all collisions between all game objects.
Game objects can draw themselves.
Objects know when they are in bounds.
Improve performance by only checking collisions between on screen game objects.
Improve performance by only painting objects if they are on screen.
Better collision resolution; less strange behaviour.
Some cleanup.
Update game objects even when they aren’t on screen.
Merge branch 'gameobject-zones'