DoopelPonger
Protected Member Functions | List of all members
CoopBadBall Class Reference

All bullets fired from Schmitty Doop. More...

Inheritance diagram for CoopBadBall:
Inheritance graph
[legend]
Collaboration diagram for CoopBadBall:
Collaboration graph
[legend]

Protected Member Functions

override void OnAwake ()
 Called when the child class should initialize any class level references. More...
 
override void OnInit ()
 Called when the child class should initialize any class level values. More...
 
bool PlayerHit (CoopPlayer player)
 
- Protected Member Functions inherited from CoopBall
delegate bool PlayerHitAction (CoopPlayer player)
 
void DoNothing ()
 Used by the fixedUpdateAction when nothing should be done during the fixed update tick. More...
 
bool DoNothingAction (CoopPlayer player)
 Do nothng special when the ball hits the player and always destroy the ball. More...
 

Additional Inherited Members

- Public Member Functions inherited from CoopBall
void Awake ()
 
void Start ()
 
void Init ()
 
void FixedUpdate ()
 
void OnCollisionEnter2D (Collision2D collision)
 
void PlayHitParticle ()
 Force the ball to play the particle used when the ball hits a player. Used in cases where an external collision wants to destroy the ball, like hitting the player's shield. More...
 
void ReturnBallMovement ()
 Force the ball to return the movement controller to the object pooler. Used in cases where an external collision wants to destroy the ball, like hitting the player's shield. More...
 
- Public Attributes inherited from CoopBall
Color particleColor
 
CoopBallMovement ballMovement
 
float verticalRatio = .8f
 
float verticalChangeRate = .5f
 
CoopBallHitParticle hitParticleSystem
 
- Protected Attributes inherited from CoopBall
CoopObjectPooler objectPooler
 
CommonDelegates.FixedUpdateAction fixedUpdateAction
 
PlayerHitAction playerHitAction
 

Detailed Description

All bullets fired from Schmitty Doop.

Member Function Documentation

◆ OnAwake()

override void CoopBadBall.OnAwake ( )
protectedvirtual

Called when the child class should initialize any class level references.

Implements CoopBall.

Reimplemented in CoopBallSplitter.

◆ OnInit()

override void CoopBadBall.OnInit ( )
protectedvirtual

Called when the child class should initialize any class level values.

Implements CoopBall.

Reimplemented in CoopBallSplitter.

◆ PlayerHit()

bool CoopBadBall.PlayerHit ( CoopPlayer  player)
protected

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