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

Movement serialization class to move Schmitty Doop to an absolute position and rotation. More...

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

Vector3 position
 
Vector3 rotation
 
- 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 Schmitty Doop to an absolute position and rotation.

Member Function Documentation

◆ ConvertMovementPropertiesToStrings()

override List<string> EditorPositionRotationChangeMovementInformation.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 EditorPositionRotationChangeMovementInformation.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 EditorPositionRotationChangeMovementInformation.GetMovementType ( )
protectedvirtual

Return the type of movement the child class serializes.

Returns
The movement type the child class serializes.

Implements EditorMovementInformation.

◆ ToCoopActionInformation()

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

◆ position

Vector3 EditorPositionRotationChangeMovementInformation.position

Position to move Schmitty Doop.

◆ rotation

Vector3 EditorPositionRotationChangeMovementInformation.rotation

Rotation to spin Schmitty Doop.


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