C# Class SuperSquid.Entities.Behaviors.BlockBuilderBehavior

Inheritance: Behavior
显示文件 Open project: WaveEngine/QuickStarters Class Usage Examples

Public Methods

Method Description
ApplyImpulse ( ) : void

Applies an vertical impulse.

Reset ( ) : void

Reset all blocks and add new initial blocks

Protected Methods

Method Description
DefaultValues ( ) : void
Initialize ( ) : void

Performs further custom initialization for this instance.

By default this method does nothing.

ResolveDependencies ( ) : void

Resolves the dependencies needed for this instance to work.

Update ( System.TimeSpan gameTime ) : void

Allows this instance to execute custom logic during its Update.

This method will not be executed if the T:WaveEngine.Framework.Component, or the T:WaveEngine.Framework.Entity owning it are not Active.

Method Details

ApplyImpulse() public method

Applies an vertical impulse.
public ApplyImpulse ( ) : void
return void

DefaultValues() protected method

protected DefaultValues ( ) : void
return void

Initialize() protected method

Performs further custom initialization for this instance.
By default this method does nothing.
protected Initialize ( ) : void
return void

Reset() public method

Reset all blocks and add new initial blocks
public Reset ( ) : void
return void

ResolveDependencies() protected method

Resolves the dependencies needed for this instance to work.
protected ResolveDependencies ( ) : void
return void

Update() protected method

Allows this instance to execute custom logic during its Update.
This method will not be executed if the T:WaveEngine.Framework.Component, or the T:WaveEngine.Framework.Entity owning it are not Active.
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The game time.
return void