public void DrawGame() { //mHero.Draw(); //foreach (BasketBall b in mBBallList) // b.Draw(); //if (null != mFinal) // mFinal.Draw(); //// Drawn last to always show up on top //FontSupport.PrintStatus("Status: " + //"Score=" + mScore + //" Basketball: Generated( " + mTotalBBallCreated + //") Collected(" + mBBallHit + ") Missed(" + mBBallMissed + ")", //null); mBall.Draw(); FontSupport.PrintStatusAt( mBall.mPosition, mBall.RoateAngleInRadian.ToString(), Color.Red); mUWBLogo.Draw(); FontSupport.PrintStatusAt( mUWBLogo.mPosition, mUWBLogo.Position.ToString(), Color.Black); FontSupport.PrintStatus( "A-Soccer B-Logo LeftThumb:Move RightThumb:Scale X/Y:Rotate", null); }
public void Drawgame() { mHero.Draw(); foreach (BasketBall b in mBBallList) { b.Draw(); } if (null != mFinal) { mFinal.Draw(); } //drawn last to always show up on top FontSupport.PrintStatus("Status: " + "Score=" + mScore + " Basketball: Generated( " + mTotalBallCreated + ") Collected(" + mBBallList + ") Missed(" + mBBallMissed + ")", null); }
public void DrawString(Vec2 loc, String s, FontSupport.Font f, int stringHeight, FontSupport.FontStyle flags, Pixel color) { FontSupport.FontManager.Instance.DrawText(this, null, null, s, f, loc, color); }