DoopelPonger
|
Serialization class for spawning/configuring the laser attack. More...
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 | length |
Range | width |
Range | velocity |
Range | growthRate |
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 |
Serialization class for spawning/configuring the laser attack.
All data needed to shoot the laser attack from Schmitty Doop.
|
protectedvirtual |
See ConvertChildPropertiesToString in the EditorActionInformation class, as this is the same method expect for attack specific properties.
Implements EditorAttackInformation.
|
protectedvirtual |
See FillChildPropertiesFromString in the EditorActionInformation class, as this is the same method expect for attack specific properties.
objectString | See FillChildPropertiesFromString in EditorActionInformation. |
Implements EditorAttackInformation.
|
protectedvirtual |
Implements EditorAttackInformation.
|
virtual |
Convert this object from the Inspector information into the data that is used during gameplay.
Implements EditorActionInformation.
Range EditorLaserAttackInformation.growthRate |
The speed at which the laser comes out of Schmitty Doop. Must be tuned with the velocity so that there is not some weird speed change when the laser has spawned fully.
Range EditorLaserAttackInformation.length |
The length of the laser on the x axis of the laser.
Range EditorLaserAttackInformation.velocity |
Speed the laser will travel in the x axis direction.
Range EditorLaserAttackInformation.width |
The width of the laser on the y axis of the laser.