C# Класс Gravitation.AIEngine.AIBehaviours.FireOnSight

Наследование: Behaviour
Показать файл Открыть проект

Открытые методы

Метод Описание
FireOnSight ( ) : System
getDirection ( SpriteObjects mShip, Body otherShipsBody, float directionWeight ) : Vector2
getRotation ( SpriteObjects mShip, Body otherShipsBody, float rotationWeight ) : float
getWeight ( ) : int
performAction ( SpriteObjects mShip, Body otherShipsBody ) : void

Описание методов

FireOnSight() публичный Метод

public FireOnSight ( ) : System
Результат System

getDirection() публичный Метод

public getDirection ( SpriteObjects mShip, Body otherShipsBody, float directionWeight ) : Vector2
mShip SpriteObjects
otherShipsBody FarseerPhysics.Dynamics.Body
directionWeight float
Результат Vector2

getRotation() публичный Метод

public getRotation ( SpriteObjects mShip, Body otherShipsBody, float rotationWeight ) : float
mShip SpriteObjects
otherShipsBody FarseerPhysics.Dynamics.Body
rotationWeight float
Результат float

getWeight() публичный Метод

public getWeight ( ) : int
Результат int

performAction() публичный Метод

public performAction ( SpriteObjects mShip, Body otherShipsBody ) : void
mShip SpriteObjects
otherShipsBody FarseerPhysics.Dynamics.Body
Результат void