The Flock  0.00.001
Public Member Functions | Public Attributes | Properties | List of all members
FlockDashAttack Class Reference
Inheritance diagram for FlockDashAttack:
AbstractMonoBehaviour IDebuggable ITransform

Public Member Functions

override void Start ()
 Start is called just before any of the Update methods is called the first time. More...
 
bool canDashToPos (Vector3 targetPos, Player target, Action< Player > callback)
 try to check if we can dash, if we can, than this function gets executed else return false More...
 
void UpdateDash ()
 used instead of Update, since we using the update function from the server More...
 
override void Update ()
 Update is called every frame. More...
 
- Public Member Functions inherited from AbstractMonoBehaviour
virtual void Awake ()
 Awake is called when the script instance is being loaded. More...
 
virtual void LateUpdate ()
 LateUpdate is called every frame after all Update functions have been called. More...
 
virtual void FixedUpdate ()
 This function is called every fixed framerate frame. More...
 
virtual void OnGUI ()
 OnScreen GUI. More...
 
virtual void OnDrawGizmos ()
 OnDraw Gizmos. More...
 
virtual void OnDrawGizmosSelected ()
 OnDraw Gizmos selected. More...
 
virtual void OnEnable ()
 This function is called when the object becomes enabled and active. More...
 
virtual void OnDisable ()
 This function is called when the behaviour becomes disabled or inactive. More...
 
virtual void OnBecameVisible ()
 OnBecameVisible is called when the renderer became visible by any camera. More...
 
virtual void OnBecameInvisible ()
 OnBecameInvisible is called when the renderer is no longer visible by any camera. More...
 
virtual void OnDestroy ()
 This function is called before the gameobject is been destroyed. More...
 
GetInterfaceComponent< I > ()
 Gets the interface component. More...
 
void logDebug (string message)
 
void logWarning (string message)
 
void logError (string message)
 

Public Attributes

float tweenDamp = 0.1f
 
float minDistance = 1.5f
 
float cooldown = .5f
 

Properties

bool isDashing [get]
 
- Properties inherited from AbstractMonoBehaviour
bool debug [get, set]
 
Transform transform [get, set]
 
virtual float x [get, set]
 
virtual float y [get, set]
 
virtual float z [get, set]
 
virtual float rotationX [get, set]
 
virtual float rotationY [get, set]
 
virtual float rotationZ [get, set]
 
- Properties inherited from IDebuggable
bool debug [get, set]
 
- Properties inherited from ITransform
Transform transform [get, set]
 
float x [get, set]
 
float y [get, set]
 
float z [get, set]
 
float rotationX [get, set]
 
float rotationY [get, set]
 
float rotationZ [get, set]
 

Additional Inherited Members

- Static Public Member Functions inherited from AbstractMonoBehaviour
static List< I > FindObjectsOfInterface< I > ()
 Finds the objects of interface. More...
 

Member Function Documentation

bool FlockDashAttack.canDashToPos ( Vector3  targetPos,
Player  target,
Action< Player callback 
)

try to check if we can dash, if we can, than this function gets executed else return false

override void FlockDashAttack.Start ( )
virtual

Start is called just before any of the Update methods is called the first time.

Reimplemented from AbstractMonoBehaviour.

override void FlockDashAttack.Update ( )
virtual

Update is called every frame.

Reimplemented from AbstractMonoBehaviour.

void FlockDashAttack.UpdateDash ( )

used instead of Update, since we using the update function from the server

Member Data Documentation

float FlockDashAttack.cooldown = .5f
float FlockDashAttack.minDistance = 1.5f
float FlockDashAttack.tweenDamp = 0.1f

Property Documentation

bool FlockDashAttack.isDashing
get

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