예제 #1
0
파일: HUD.cs 프로젝트: steveyaz/Warlock
        public HUD()
        {
            // Center-on-player button
            m_actionButton = new ActionButton()
            {
                AssetName = "meteor_icon",
                ScreenPosition = new Vector2(10, 422)
            };

            m_instructions = new TextScreenObject()
            {
                AssetName = "warlock_standard",
                ScreenPosition = new Vector2(250, 40),
                TextColor = Color.Black,
                Text = "Choose an action"
            };
        }
예제 #2
0
 public void ExecuteTap(ActionButton action)
 {
     m_selectedAction = action;
     State = BattleGameState.SelectTarget;
 }