예제 #1
0
        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;
        }
예제 #2
0
 public static void Main(string[] args)
 {
     RenderManager rm = new RenderManager();
     GameManager.getInstance();
     rm.initSDL();
 }