Esempio n. 1
0
 public PlayingState()
 {
     Paused = false;
     Input = new InputManager();
     camera = new Camera();
     Players = new List<Player>();
     MapTiles = new List<Sprite>();
     collision = new Collision();
     FPSText = "";
     AvailableTextures = new Dictionary<string, Texture2D>();
 }
Esempio n. 2
0
        public EditorState()
        {
            ChosenFile = false;
            ChosenMethod = false;
            LoadFile = false;
            GoMenu = false;
            FileLoadError = false;

            BuildHoriz = true;
            BuildAmount = 1;

            InputString = "";
            Input = new InputManager();
            camera = new Camera();
            AvailableTextures = new Dictionary<string, Texture2D>();
            MapTiles = new List<Sprite>();            
            map = new Map();

            CurrentTexture = 0;
            CurrentDepth = 1.0f;
        }