DoopelPonger
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EditorMovementInformation Class Referenceabstract

Top level serialization class used to save/read information to move Schmitty Doop. More...

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

Public Member Functions

void Awake ()
 
- 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...
 
abstract CoopActionInformation ToCoopActionInformation ()
 Convert this object from the Inspector information into the data that is used during gameplay. More...
 

Protected Member Functions

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...
 
abstract CoopMovementInformation.MovementType GetMovementType ()
 Return the type of movement the child class serializes. More...
 
abstract List< string > ConvertMovementPropertiesToStrings ()
 Return the child fields that should be serialized to a file. More...
 
- Protected Member Functions inherited from EditorActionInformation
abstract 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...
 

Protected Attributes

CoopMovementInformation.MovementType movementType
 
- Protected Attributes inherited from EditorActionInformation
CoopActionInformation.ActionType actionType
 

Additional Inherited Members

- Public Attributes inherited from EditorActionInformation
GameObject m_gameObject
 
Range delayBetweenActions
 

Detailed Description

Top level serialization class used to save/read information to move Schmitty Doop.

Member Function Documentation

◆ Awake()

void EditorMovementInformation.Awake ( )

◆ ConvertChildPropertiesToStrings()

override List<string> EditorMovementInformation.ConvertChildPropertiesToStrings ( )
protectedvirtual

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.

Returns
Each property of the child class that should be serialized.

Implements EditorActionInformation.

◆ ConvertMovementPropertiesToStrings()

abstract List<string> EditorMovementInformation.ConvertMovementPropertiesToStrings ( )
protectedpure virtual

Return the child fields that should be serialized to a file.

Returns
A list of fields in string format. Each property should be a new element in the list.

Implemented in EditorLinearMovementInformation, EditorSmoothStepMovementInformation, EditorAlphaChangeMovementInformation, and EditorPositionRotationChangeMovementInformation.

◆ GetMovementType()

abstract CoopMovementInformation.MovementType EditorMovementInformation.GetMovementType ( )
protectedpure virtual

Return the type of movement the child class serializes.

Returns
The movement type the child class serializes.

Implemented in EditorLinearMovementInformation, EditorSmoothStepMovementInformation, EditorPositionRotationChangeMovementInformation, EditorAlphaUpMovementInformation, and EditorAlphaDownMovementInformation.

Member Data Documentation

◆ movementType

CoopMovementInformation.MovementType EditorMovementInformation.movementType
protected

The type of movement object of the child class.


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