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

Movement serialization class to move/rotate Schmitty Doop with a smooth step interpolation. More...

Inheritance diagram for EditorSmoothStepMovementInformation:
Inheritance graph
[legend]
Collaboration diagram for EditorSmoothStepMovementInformation:
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 EditorMovementInformation
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...
 

Public Attributes

Range rotationOffset
 
Range maxRotationTime
 
Vector3 movementOffset
 
Range maxMovementTime
 
- Public Attributes inherited from EditorActionInformation
GameObject m_gameObject
 
Range delayBetweenActions
 

Protected Member Functions

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

Detailed Description

Movement serialization class to move/rotate Schmitty Doop with a smooth step interpolation.

Member Function Documentation

◆ ConvertMovementPropertiesToStrings()

override List<string> EditorSmoothStepMovementInformation.ConvertMovementPropertiesToStrings ( )
protectedvirtual

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.

Implements EditorMovementInformation.

◆ FillChildPropertiesFromString()

override void EditorSmoothStepMovementInformation.FillChildPropertiesFromString ( string  objectString)
protectedvirtual

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.

Parameters
Theserialized string of all the properties in this object.

Implements EditorActionInformation.

◆ GetMovementType()

override CoopMovementInformation.MovementType EditorSmoothStepMovementInformation.GetMovementType ( )
protectedvirtual

Return the type of movement the child class serializes.

Returns
The movement type the child class serializes.

Implements EditorMovementInformation.

◆ ToCoopActionInformation()

override CoopActionInformation EditorSmoothStepMovementInformation.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

◆ maxMovementTime

Range EditorSmoothStepMovementInformation.maxMovementTime

The amount of time it takes to move Schmitty Doop.

◆ maxRotationTime

Range EditorSmoothStepMovementInformation.maxRotationTime

The amount of time it takes to rotate Schmitty Doop.

◆ movementOffset

Vector3 EditorSmoothStepMovementInformation.movementOffset

Minimum and maximum displacement to move Schmitty Doop.

◆ rotationOffset

Range EditorSmoothStepMovementInformation.rotationOffset

Minimum and maximum rotation amount to spin Schmitty Doop.


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