C# Class UnidirectionalMovement, SlashRunner

Simply moves the current game object in a single direction
Inheritance: Movement
Show file Open project: matthewAURA/SlashRunner

Public Properties

Property Type Description
direction Vector2

Public Methods

Method Description
Start ( ) : void

Protected Methods

Method Description
ComputeMovement ( ) : void
UpdateMovement ( ) : void

Method Details

ComputeMovement() protected final method

protected final ComputeMovement ( ) : void
return void

Start() public method

public Start ( ) : void
return void

UpdateMovement() protected final method

protected final UpdateMovement ( ) : void
return void

Property Details

direction public property

Moving direction
public Vector2 direction
return Vector2