DoopelPonger
Public Member Functions | Public Attributes | List of all members
CoopSchmittyDoopDeath Class Reference
Inheritance diagram for CoopSchmittyDoopDeath:
Inheritance graph
[legend]
Collaboration diagram for CoopSchmittyDoopDeath:
Collaboration graph
[legend]

Public Member Functions

void Awake ()
 Initialize timers, variables, and references used by this class. More...
 
void OnDestroy ()
 
void FixedUpdate ()
 Either do nothing or shake Schmitty Doop. More...
 

Public Attributes

CoopSchmittyDoopExplodable [] explodables
 
float [] delayTimes
 
float explosionForce
 
float shakeDelta
 
float shakeRateAcceleration
 
float maxShakeRate
 
float shakeDuration
 
float minScale
 
float scaleChangeRate
 

Member Function Documentation

◆ Awake()

void CoopSchmittyDoopDeath.Awake ( )

Initialize timers, variables, and references used by this class.

◆ FixedUpdate()

void CoopSchmittyDoopDeath.FixedUpdate ( )

Either do nothing or shake Schmitty Doop.

◆ OnDestroy()

void CoopSchmittyDoopDeath.OnDestroy ( )

Remove function pointer registered to the EventManager.

Member Data Documentation

◆ delayTimes

float [] CoopSchmittyDoopDeath.delayTimes

Not all of Schmitty Doop's pieces explode at once, each element of the delayTimes array corresponds to the wait time before same index of the explodables is exploded.

◆ explodables

CoopSchmittyDoopExplodable [] CoopSchmittyDoopDeath.explodables

The pieces of Schmitty Doop that can be exploded after Schmitty Doop shakes.

◆ explosionForce

float CoopSchmittyDoopDeath.explosionForce

Force added to every pieces once exploded.

◆ maxShakeRate

float CoopSchmittyDoopDeath.maxShakeRate

The limit Schmitty Doop can shake.

◆ minScale

float CoopSchmittyDoopDeath.minScale

Schmitty Doop Will also squish along the y axis, this is the scale that Schmitty Doop will shrink to.

◆ scaleChangeRate

float CoopSchmittyDoopDeath.scaleChangeRate

How fast Schmitty Doop will squish to the minScale.

◆ shakeDelta

float CoopSchmittyDoopDeath.shakeDelta

The maximum change on the x axis that Schmitty Doop should shake.

◆ shakeDuration

float CoopSchmittyDoopDeath.shakeDuration

The Amount of time Schmitty Doop should shake before the explosions should start.

◆ shakeRateAcceleration

float CoopSchmittyDoopDeath.shakeRateAcceleration

When Schmitty Doop shakes, the rate of shaking increases. This is the rate that the shaking increases movement.


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