Created
October 8, 2013 17:59
Revisions
-
devboy created this gist
Oct 8, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ type GameObject { int a; int b; int c; } type GameObjectWithCheats > GameObject { int d; } if(cheats) { injector.map(GameObjectWithCheats, GameObject); } else { injector.map(GameObject, GameObject); } //Inside game GameObject object = injector.getObject(GameObject); object.a = 5;