Esempio n. 1
0
 protected override void Draw(GameTime gameTime)
 {
     spriteBatch.Begin ();
     if(drawFunction != null)
         drawFunction.Call (new LuaAPI.LGameTime(gameTime));
     spriteBatch.End ();
 }
Esempio n. 2
0
 protected override void Update(GameTime gameTime)
 {
     if(updateFunction != null)
         updateFunction.Call (new LuaAPI.LGameTime(gameTime));
 }