コード例 #1
0
        public override void Initialize()
        {
            //Console.Write("initializing the editor state");
            Map = new GameData.Map();
            //set up the input processor so that it looks for the only key that we need right now which is the t key for the toolbox menu pop-up
            List <Keys> listkeys = new List <Keys>
            {
                Keys.T,
                Keys.Escape
            };

            mInputProcessor.Initialize(listkeys);
        }
コード例 #2
0
 public PlayingState()
 {
     map = new GameData.Map();
 }