Esempio n. 1
0
        public override void Render(GameTime argTime)
        {
            var pHost = Game.Host;

            base.Render(argTime);
            pHost.setfillStyle("#000"); /* whatever comes below this acquires black color (#000). */
            // draws the black board
            pHost.fillRect(0, 0, Game.Width, Game.Height);
            mPlayerLeft.Render(argTime);
            mScoreLeft.Render(argTime);
            mPlayerRight.Render(argTime);
            mScoreRight.Render(argTime);
            mNetObj.Render(argTime);
            mBallObj.Render(argTime);
        }