C# Class Gravitation.AIEngine.AIBehaviours.Behaviour

Show file Open project: thedamoes/Gravitation

Public Methods

Method Description
getDirection ( SpriteObjects mShip, Body otherShipsBody, float directionWeight ) : Vector2
getRotation ( SpriteObjects mShip, Body otherShipsBody, float rotationWeight ) : float
getWeight ( ) : int
performAction ( SpriteObjects mShip, Body otherShipsBody ) : void

Method Details

getDirection() public abstract method

public abstract getDirection ( SpriteObjects mShip, Body otherShipsBody, float directionWeight ) : Vector2
mShip SpriteObjects
otherShipsBody FarseerPhysics.Dynamics.Body
directionWeight float
return Vector2

getRotation() public abstract method

public abstract getRotation ( SpriteObjects mShip, Body otherShipsBody, float rotationWeight ) : float
mShip SpriteObjects
otherShipsBody FarseerPhysics.Dynamics.Body
rotationWeight float
return float

getWeight() public abstract method

public abstract getWeight ( ) : int
return int

performAction() public abstract method

public abstract performAction ( SpriteObjects mShip, Body otherShipsBody ) : void
mShip SpriteObjects
otherShipsBody FarseerPhysics.Dynamics.Body
return void