DoopelPonger
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
EditorBadBallAttackInformation Class Reference

Configures a traditional bullet that is fired by Schmitty Doop. More...

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

Public Member Functions

override CoopActionInformation ToCoopActionInformation ()
 Convert this object from the Inspector information into the data that is used during gameplay. More...
 
- Public Member Functions inherited from EditorAttackInformation
void Awake ()
 Initializes the actionType and attackType enums. More...
 
- Public Member Functions inherited from EditorActionInformation
List< string > ConvertPropertiesToStrings ()
 Convert each property into a string. Each element of the list should be a single property in the json like structure of <property name>:<value> with no comma or curly brackets. More...
 
void FillPropertiesFromString (string objectString)
 Convert a string with all properties into this object. The parameter objectString is generated from calling the ConvertPropertiesToString method, and has each element of the array concatenated with a ,. More...
 

Public Attributes

Range angleOffset
 
Range numberOfBalls
 
EditorBallMovementInformation.BallMovementType ballMovementType
 
EditorBallMovementInformation ballMovementInformation
 
- Public Attributes inherited from EditorAttackInformation
CoopBallManager.SpawnLocation spawnLocation
 
- Public Attributes inherited from EditorActionInformation
GameObject m_gameObject
 
Range delayBetweenActions
 

Protected Member Functions

override List< string > ConvertAttackPropertiesToStrings ()
 See ConvertChildPropertiesToString in the EditorActionInformation class, as this is the same method expect for attack specific properties. More...
 
override void FillAttackPropertiesFromString (string objectString)
 See FillChildPropertiesFromString in the EditorActionInformation class, as this is the same method expect for attack specific properties. More...
 
override CoopAttackInformation.AttackType GetAttackType ()
 
- Protected Member Functions inherited from EditorAttackInformation
override void FillChildPropertiesFromString (string objectString)
 Construct the child class based on the string that was serialized. See the method FillPropertiesFromString for more information. That method is the public method that calls this method when serializing. More...
 
override List< string > ConvertChildPropertiesToStrings ()
 Convert all properties of the implementation class that should be serialized to a string. See the method ConvertPropertiesToString for more information. That method is the public method that calls this method when serializing. More...
 

Additional Inherited Members

- Protected Attributes inherited from EditorAttackInformation
CoopAttackInformation.AttackType attackType
 
- Protected Attributes inherited from EditorActionInformation
CoopActionInformation.ActionType actionType
 

Detailed Description

Configures a traditional bullet that is fired by Schmitty Doop.

All the data needed to shoot a bullet from Schmitty Doop that will hurt players.

Member Function Documentation

◆ ConvertAttackPropertiesToStrings()

override List<string> EditorBadBallAttackInformation.ConvertAttackPropertiesToStrings ( )
protectedvirtual

See ConvertChildPropertiesToString in the EditorActionInformation class, as this is the same method expect for attack specific properties.

Returns
See ConvertChildPropertiesToString in EditorActionInformation.

Implements EditorAttackInformation.

◆ FillAttackPropertiesFromString()

override void EditorBadBallAttackInformation.FillAttackPropertiesFromString ( string  objectString)
protectedvirtual

See FillChildPropertiesFromString in the EditorActionInformation class, as this is the same method expect for attack specific properties.

Parameters
objectStringSee FillChildPropertiesFromString in EditorActionInformation.

Implements EditorAttackInformation.

◆ GetAttackType()

override CoopAttackInformation.AttackType EditorBadBallAttackInformation.GetAttackType ( )
protectedvirtual

◆ ToCoopActionInformation()

override CoopActionInformation EditorBadBallAttackInformation.ToCoopActionInformation ( )
virtual

Convert this object from the Inspector information into the data that is used during gameplay.

Returns
An implementation of the CoopActionInformation that best fits this action information.

Implements EditorActionInformation.

Member Data Documentation

◆ angleOffset

Range EditorBadBallAttackInformation.angleOffset

The angle the first ball should be shot from. 0 is considered up and the rotation is counter clockwise (Unity convention).

◆ ballMovementInformation

EditorBallMovementInformation EditorBadBallAttackInformation.ballMovementInformation

The movement information provided to the BallMovementType.

◆ ballMovementType

EditorBallMovementInformation.BallMovementType EditorBadBallAttackInformation.ballMovementType

The type of movement pattern that each ball will be assigned.

◆ numberOfBalls

Range EditorBadBallAttackInformation.numberOfBalls

The number of balls to shoot. Divided between the left and right side of Schmitty Doop. For example, if the number is 2, then one ball will be shot on the left and the second ball will be shot on the right side.


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