update UnitCompiler according to SpriteI implementation
update UnitCompiler according to SpriteI implementation

mikymod/crown,galek/crown,dbartolini/crown,mikymod/crown,dbartolini/crown,taylor001/crown,dbartolini/crown,mikymod/crown,dbartolini/crown,taylor001/crown,mikymod/crown,taylor001/crown,galek/crown,taylor001/crown,galek/crown,galek/crown