Esempio n. 1
0
        public CreationInputManagerSystem(CreationLevel level)
        {
            //Here is where you add the Required components
            //No Req Components

            //Add keys to system manager

            this.level = level; //Always have this
        }
Esempio n. 2
0
        public CreationGame(Graphics winGraphics, int w, int h, string fileName)
        {
            mainPnlGraphics = winGraphics;
            pnlWidth        = w;
            pnlHeight       = h;

            gameRunning = true;

            currentLevel = null;

            bufferImage = new Bitmap(w, h);
            dbGraphics  = Graphics.FromImage(bufferImage);


            startLevel(fileName);


            Thread gameThread = new Thread(new ThreadStart(Update));

            gameThread.Start();
        }
Esempio n. 3
0
 public CreationSystemManager(CreationLevel level)
 {
     this.level = level;
     initializeSystems();
 }
Esempio n. 4
0
 public void startLevel(string fileName)
 {
     currentLevel = new CreationLevel(pnlWidth, pnlHeight, fileName, dbGraphics);
 }
Esempio n. 5
0
 public void startLevel()
 {
     currentLevel = new CreationLevel(pnlWidth, pnlHeight, pnlWidth, pnlHeight, dbGraphics);
 }
Esempio n. 6
0
 //Constructor - Always read in the level! You can read in other stuff too if need be.
 public ProtoEntitySystem(CreationLevel level)
 {
     this.level = level; //Always have this
 }