Ejemplo 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
        }
Ejemplo 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();
        }
Ejemplo n.º 3
0
 public CreationSystemManager(CreationLevel level)
 {
     this.level = level;
     initializeSystems();
 }
Ejemplo n.º 4
0
 public void startLevel(string fileName)
 {
     currentLevel = new CreationLevel(pnlWidth, pnlHeight, fileName, dbGraphics);
 }
Ejemplo n.º 5
0
 public void startLevel()
 {
     currentLevel = new CreationLevel(pnlWidth, pnlHeight, pnlWidth, pnlHeight, dbGraphics);
 }
Ejemplo 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
 }