C# Class BT_MovementScript, Heracles

Inheritance: MonoBehaviour
Show file Open project: TrinityUniversityGameDesign/Heracles

Public Properties

Property Type Description
controlMethod string
directionX int
directionY int
speedX float
speedY float

Public Methods

Method Description
SetConstantSpeed ( int dX, int dY, float sX, float sY ) : void
SetControlMethod ( string newMethod ) : void
Start ( ) : void
Update ( ) : void

Method Details

SetConstantSpeed() public method

public SetConstantSpeed ( int dX, int dY, float sX, float sY ) : void
dX int
dY int
sX float
sY float
return void

SetControlMethod() public method

public SetControlMethod ( string newMethod ) : void
newMethod string
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

controlMethod public property

public string controlMethod
return string

directionX public property

public int directionX
return int

directionY public property

public int directionY
return int

speedX public property

public float speedX
return float

speedY public property

public float speedY
return float