source: 2011/23/sijoseha/Fera Proelia/Fera Proelia/Fera Proelia/GameScreen.cs @ 2118

Revision 2118, 614 bytes checked in by sijoseha, 10 years ago (diff)

Some modifications. Nothing is really happening yet.

Line 
1using System;
2using System.Collections.Generic;
3using Microsoft.Xna.Framework;
4using Microsoft.Xna.Framework.Graphics;
5
6namespace Fera_Proelia
7{
8    public abstract class GameScreen
9    {
10        bool otherScreenHasFocus;
11        public GameScreen()
12        {
13
14        }
15        public virtual void LoadContent() { }
16        public virtual void UnloadContent() { }
17
18        public virtual void Update(GameTime gameTime, bool otherScreenHasFocus)
19        {
20            this.otherScreenHasFocus = otherScreenHasFocus;
21        }
22        public virtual void Draw(GameTime gameTime) { }
23    }
24}
Note: See TracBrowser for help on using the repository browser.