Moved methods from Graphics to GameData class