public void Draw() { _mariocustomer.Draw(); SwinGame.DrawSprite(_mariodiningTable); SwinGame.DrawSprite(_mariofood); _mariostatusBar.Draw(_marioticks, _mariodiningTable.X + 22, _mariodiningTable.Y + 25); }
public void Draw() { _customer.Draw(); SwinGame.DrawSprite(_diningTable); SwinGame.DrawSprite(_food); _statusBar.Draw(_ticks, _diningTable.X + 22, _diningTable.Y + 25); }
public void Draw() { //first draw table _tableOfStove.Draw(); //second draw the stove sprite SwinGame.DrawSprite(_stove); //draw the part of full bar based on the time passed. _statusBar.Draw((int)_ticks, _stove.X + 35, _stove.Y + 7); }
public void Draw(float x, float y) { _statusBar.Draw(_ticks, x, y); }