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 }
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(); }
public CreationSystemManager(CreationLevel level) { this.level = level; initializeSystems(); }
public void startLevel(string fileName) { currentLevel = new CreationLevel(pnlWidth, pnlHeight, fileName, dbGraphics); }
public void startLevel() { currentLevel = new CreationLevel(pnlWidth, pnlHeight, pnlWidth, pnlHeight, dbGraphics); }
//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 }