Beispiel #1
0
        public MWSideBarMarioUpdate(ViewManager viewManager)
        {
            _holdingFoodFrame = new MWHoldingFoodFrame();

            _viewManager = viewManager;

            //_gameTime = SwinGame.CreateTimer ();
            //SwinGame.StartTimer (_gameTime);
            _life     = 6;
            _gameLife = new MWGameLife();
            SwinGame.LoadBitmapNamed("side", "side_menu.png");
            _sideBar = SwinGame.CreateSprite(SwinGame.BitmapNamed("side"));
        }
 public void RegisterHoldingFrame(MWHoldingFoodFrame holdingFoodFrame)
 {
     _holdingFoodFrame = holdingFoodFrame;
 }