public override void Initialization(ActCharacterNew character) { base.Initialization(character); _actJump = character.GetAbility(typeof(ActJump)) as ActJump; _actWallCling = character.GetAbility(typeof(ActWallCling)) as ActWallCling; }
private void RegisterAbility() { { ActAbility ability = new ActMoveH(); ability.Initialization(this); AbilityList.Add(typeof(ActMoveH), ability); } { ActAbility ability = new ActClimbing(); ability.Initialization(this); AbilityList.Add(typeof(ActClimbing), ability); } { ActAbility ability = new ActJump(); ability.Initialization(this); AbilityList.Add(typeof(ActJump), ability); } { ActAbility ability = new ActDash(); ability.Initialization(this); AbilityList.Add(typeof(ActDash), ability); } { ActAbility ability = new ActCrouch(); ability.Initialization(this); AbilityList.Add(typeof(ActCrouch), ability); } { ActAbility ability = new ActWallCling(); ability.Initialization(this); AbilityList.Add(typeof(ActWallCling), ability); } { ActAbility ability = new ActWallJump(); ability.Initialization(this); AbilityList.Add(typeof(ActWallJump), ability); } { ActAbility ability = new ActGrip(); ability.Initialization(this); AbilityList.Add(typeof(ActGrip), ability); } }