Ejemplo n.º 1
0
        public void Load(int id, CONST_TV_KEY upKey, CONST_TV_KEY downKey, CONST_TV_KEY leftKey, CONST_TV_KEY rightKey)
        {
            Id       = id;
            UpKey    = upKey;
            DownKey  = downKey;
            LeftKey  = leftKey;
            RightKey = rightKey;

            Bat = new Bat(_gameManager);
        }
Ejemplo n.º 2
0
        public TVButtonState GetKeyState(CONST_TV_KEY key)
        {
            TVButtonState state;

            if (!keyStates.TryGetValue(key, out state))
            {
                state = TVButtonState.Up;
            }

            return(state);
        }
Ejemplo n.º 3
0
 public Skill getSkill(CONST_TV_KEY key)
 {
     return combatRepository.getSkill(key);
 }
Ejemplo n.º 4
0
        public TVButtonState GetKeyState(CONST_TV_KEY key)
        {
            TVButtonState state;
            if (!keyStates.TryGetValue(key, out state))
                state = TVButtonState.Up;

            return state;
        }