Start the game
Game node object
Function for detecting the collision of an object with the player
Check if we need to remove this object from the scene
Refactoring
Added a star node
Implemented collisionWithPlayer with the StarNode
Function for creating a star at a given position
Added a star in the view