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