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

Information needed to create a bullet that moves like it is traveling along a square wave. More...

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

Public Member Functions

override List< string > ConvertPropertiesToStrings ()
 Convert all properties of the implementation class that should be serialized to a string. See the method ConvertPropertiesToString in the EditorActionInformation class for more information, the two methods are used for the same purpose. More...
 
override Type GetCoopBallMovementType ()
 Return the type of the BallMovementType. More...
 
override CoopBallManager.BallMovementInitialize GetInitializer ()
 Return the BallMovementInitializer that corresponds to the BallMovementType. More...
 

Public Attributes

Range speed
 
Range virticalMovementCutoff
 
Range wavelengthMultiplier
 

Protected Member Functions

override void FillPropertiesFromString (string objectString)
 Construct the child class based on the string that was serialized. See the method FillPropertiesFromString in the EditorActionInformation class for more information, the two methods are used for the same purpose. More...
 

Additional Inherited Members

- Public Types inherited from EditorBallMovementInformation
enum  BallMovementType {
  BallMovementType.CONSTANT_SPEED, BallMovementType.DECREASE_SPEED, BallMovementType.INCREASE_SPEED, BallMovementType.SQUARE_WAVE,
  BallMovementType.SINE_WAVE, BallMovementType.TRIANGLE_WAVE, BallMovementType.WHIRLY_WAVE, BallMovementType.START_STOP
}
 The types of ball movements supported in serialization. New types of movement should have an entry added in this enum. More...
 
- Static Public Member Functions inherited from EditorBallMovementInformation
static EditorBallMovementInformation CreateEditorBallMovementInformation (BallMovementType ballMovementType, string objectString)
 Create the appropiate child movement information from the given movement type and serialized string. More...
 

Detailed Description

Information needed to create a bullet that moves like it is traveling along a square wave.

Member Function Documentation

◆ ConvertPropertiesToStrings()

override List<string> EditorSquareWaveBallMovementInformation.ConvertPropertiesToStrings ( )
virtual

Convert all properties of the implementation class that should be serialized to a string. See the method ConvertPropertiesToString in the EditorActionInformation class for more information, the two methods are used for the same purpose.

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

Implements EditorBallMovementInformation.

◆ FillPropertiesFromString()

override void EditorSquareWaveBallMovementInformation.FillPropertiesFromString ( string  objectString)
protectedvirtual

Construct the child class based on the string that was serialized. See the method FillPropertiesFromString in the EditorActionInformation class for more information, the two methods are used for the same purpose.

Parameters
Theserialized string of all the properties in this object.

Implements EditorBallMovementInformation.

◆ GetCoopBallMovementType()

override Type EditorSquareWaveBallMovementInformation.GetCoopBallMovementType ( )
virtual

Return the type of the BallMovementType.

Returns
The type of the BallMovementType.

Implements EditorBallMovementInformation.

◆ GetInitializer()

override CoopBallManager.BallMovementInitialize EditorSquareWaveBallMovementInformation.GetInitializer ( )
virtual

Return the BallMovementInitializer that corresponds to the BallMovementType.

Returns
The BallMovementInitializer that corresponds to the BallMovementType.

Implements EditorBallMovementInformation.

Member Data Documentation

◆ speed

Range EditorSquareWaveBallMovementInformation.speed

The minimum and maximum speed to travel along the square wave.

◆ virticalMovementCutoff

Range EditorSquareWaveBallMovementInformation.virticalMovementCutoff

The minimum and maximum value for how tall the sign wave will be.

◆ wavelengthMultiplier

Range EditorSquareWaveBallMovementInformation.wavelengthMultiplier

The minimum and maximum value of the wavelenth for the square wave.


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