예제 #1
0
        protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(Color.Gray);

            spriteBatch.Begin();

            bones.Move();
            bones.Draw(spriteBatch);

            student.Move();
            student.Walk();
            student.Draw(spriteBatch);

            teacher.Move();
            teacher.Walk();
            teacher.Fly();
            teacher.Draw(spriteBatch);

            spriteBatch.Draw(back, backRec, Color.Orange);

            spriteBatch.End();

            base.Draw(gameTime);
        }