C# Class AI.BaseAI

Mostra file Open project: dream-young-soul/soul

Public Properties

Property Type Description
FOLLOW byte

Protected Properties

Property Type Description
ATTACK byte
INJURED byte
STATE_IDLE byte
SelObj BaseObject
TargetObj BaseObject
mAiInfo GameStruct.AiInfo

Public Methods

Method Description
BaseAI ( ) : System
Die ( ) : void
FollowTarget ( ) : void
GetTargetObject ( ) : BaseObject
Init ( BaseObject obj = null, int nAi_Id = Define.AI_TYPE_MELEE ) : void
Injured ( BaseObject attackobj ) : void
Run ( ) : void
SetAttackTarget ( BaseObject obj ) : void

Protected Methods

Method Description
ActiveAttackPlay ( ) : void

Method Details

ActiveAttackPlay() protected method

protected ActiveAttackPlay ( ) : void
return void

BaseAI() public method

public BaseAI ( ) : System
return System

Die() public method

public Die ( ) : void
return void

FollowTarget() public method

public FollowTarget ( ) : void
return void

GetTargetObject() public method

public GetTargetObject ( ) : BaseObject
return BaseObject

Init() public method

public Init ( BaseObject obj = null, int nAi_Id = Define.AI_TYPE_MELEE ) : void
obj BaseObject
nAi_Id int
return void

Injured() public method

public Injured ( BaseObject attackobj ) : void
attackobj BaseObject
return void

Run() public method

public Run ( ) : void
return void

SetAttackTarget() public method

public SetAttackTarget ( BaseObject obj ) : void
obj BaseObject
return void

Property Details

ATTACK protected_oe static_oe property

protected static byte ATTACK
return byte

FOLLOW public_oe static_oe property

public static byte FOLLOW
return byte

INJURED protected_oe static_oe property

protected static byte INJURED
return byte

STATE_IDLE protected_oe static_oe property

protected static byte STATE_IDLE
return byte

SelObj protected_oe property

protected BaseObject SelObj
return BaseObject

TargetObj protected_oe property

protected BaseObject TargetObj
return BaseObject

mAiInfo protected_oe property

protected AiInfo,GameStruct mAiInfo
return GameStruct.AiInfo