Third Person Cover Shooter  1.6
CoverShooter.Tool Class Reference

Tools are like Gun or Melee attached to a weapon. More...

Inheritance diagram for CoverShooter.Tool:
CoverShooter.Flashlight CoverShooter.Phone CoverShooter.Radio

Public Member Functions

virtual void ContinuousUse (CharacterMotor character, bool isAlternate)
 Method used every frame on the tool during the use animation. More...
 
virtual void Use (CharacterMotor character, bool isAlternate)
 Method called during a specific moment in the use animation. More...
 

Public Attributes

bool HasAiming
 Signifies if a character needs to aim while using the tool. More...
 
bool IsContinuous
 Is the use animation continuous instead of a single action. More...
 
bool HasAlternateAiming
 Signifies if a character needs to aim while using the tool in alternate mode. More...
 
bool IsAlternateContinuous
 Is the alternate use animation continuous instead of a single action. More...
 

Detailed Description

Tools are like Gun or Melee attached to a weapon.

Their existance tells CharacterMotor that the weapon can be used as a tool.

Member Function Documentation

◆ ContinuousUse()

virtual void CoverShooter.Tool.ContinuousUse ( CharacterMotor  character,
bool  isAlternate 
)
virtual

Method used every frame on the tool during the use animation.

Reimplemented in CoverShooter.Flashlight.

◆ Use()

virtual void CoverShooter.Tool.Use ( CharacterMotor  character,
bool  isAlternate 
)
virtual

Method called during a specific moment in the use animation.

Reimplemented in CoverShooter.Phone, and CoverShooter.Radio.

Member Data Documentation

◆ HasAiming

bool CoverShooter.Tool.HasAiming

Signifies if a character needs to aim while using the tool.

◆ HasAlternateAiming

bool CoverShooter.Tool.HasAlternateAiming

Signifies if a character needs to aim while using the tool in alternate mode.

◆ IsAlternateContinuous

bool CoverShooter.Tool.IsAlternateContinuous

Is the alternate use animation continuous instead of a single action.

◆ IsContinuous

bool CoverShooter.Tool.IsContinuous

Is the use animation continuous instead of a single action.


The documentation for this class was generated from the following file: