C# Class DefaultEnemy, WorldsofREM

Inheritance: Enemy
Mostrar archivo Open project: jmkmoore/WorldsofREM Class Usage Examples

Public Properties

Property Type Description
endMarker Vector3
startMarker Vector3

Public Methods

Method Description
BackAndForthMovement ( ) : void
OnCollisionEnter ( Collision collision ) : void
PlaceEnemyAtCoordinates ( Vector2 Coords ) : void
SetStartAndEndPoints ( Vector3 endVectorDirection ) : void
Start ( ) : void
SwitchDirection ( ) : void
Update ( ) : void

Method Details

BackAndForthMovement() public method

public BackAndForthMovement ( ) : void
return void

OnCollisionEnter() public method

public OnCollisionEnter ( Collision collision ) : void
collision Collision
return void

PlaceEnemyAtCoordinates() public method

public PlaceEnemyAtCoordinates ( Vector2 Coords ) : void
Coords Vector2
return void

SetStartAndEndPoints() public method

public SetStartAndEndPoints ( Vector3 endVectorDirection ) : void
endVectorDirection Vector3
return void

Start() public method

public Start ( ) : void
return void

SwitchDirection() public method

public SwitchDirection ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

endMarker public_oe property

public Vector3 endMarker
return Vector3

startMarker public_oe property

public Vector3 startMarker
return Vector3