public RenderManager() { this.currentScreenState = ScreenState.BEGINSCREEN; RenderManager.instance = this; this.textureList = new TextureList(); this.textureList.load(); this.fieldArr = this.getField(); this.renderWidth = this.fieldArr.GetLength(0) * fieldSize; this.renderHeight = this.fieldArr.GetLength(1) * fieldSize; this.tick(); this.initSound(); this.startBGMusic(); done = false; }
public static void Main(string[] args) { RenderManager rm = new RenderManager(); GameManager.getInstance(); rm.initSDL(); }