Added Flag

Added: Flag for gameobjects
Removed: outdated code in Sprite class