コード例 #1
0
        public UserInterface(Game1 game, Stage stage)
        {
            this.game = game;
            this.stage = stage;

            position = Vector2.Zero;
            uiFront = new UIObject(stage, position);
            uiCenter = new UIObject(stage, position);
            uiBack = new UIObject(stage, position);
            tasGauge = new UI_TAS(stage, position);
            hpGauge = new UI_HP(stage, position);
            bosshpGauge = new UI_BossHP(stage, position);

            enemyList = new List<Enemy>();
            enemyHPList = new List<UI_EnemyHP>();

            //reverseGauge = new UI_ReverseGauge(stage, new Vector2(500,10));
        }
コード例 #2
0
        public UserInterface(Game1 game, Stage stage)
        {
            this.game  = game;
            this.stage = stage;

            position    = Vector2.Zero;
            uiFront     = new UIObject(stage, position);
            uiCenter    = new UIObject(stage, position);
            uiBack      = new UIObject(stage, position);
            tasGauge    = new UI_TAS(stage, position);
            hpGauge     = new UI_HP(stage, position);
            bosshpGauge = new UI_BossHP(stage, position);

            enemyList   = new List <Enemy>();
            enemyHPList = new List <UI_EnemyHP>();

            //reverseGauge = new UI_ReverseGauge(stage, new Vector2(500,10));
        }