static public int Tick(IntPtr l) { try { GameFramework.EntityController self = (GameFramework.EntityController)checkSelf(l); self.Tick(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }