C# Class fBaseXtensions.Cache.Internal.Objects.CacheAvoidance

Used for all avoidance objects
Inheritance: CacheObstacle
Datei anzeigen Open project: herbfunk/Funky Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CacheAvoidance ( AvoidanceType type, int snoid, int raguid, int acdguid, System.Vector3 position, string name = "" ) : System
CacheAvoidance ( CacheObject parent, AvoidanceType avoidancetype ) : System
CacheAvoidance ( CacheObject parent, AvoidanceType type, Ray R, double speed ) : System
PointInside ( GridPoint Pos ) : bool
PointInside ( System.Vector3 V3 ) : bool
RefreshObject ( ) : void
TestIntersection ( CacheObject OBJ, System.Vector3 BotPosition ) : bool
TestIntersection ( System.Vector3 V1, System.Vector3 V2, bool CollisonRadius = true ) : bool
UpdateProjectileRayTest ( ) : bool

Check if this projectile will directly impact the bot.

Method Details

CacheAvoidance() public method

public CacheAvoidance ( AvoidanceType type, int snoid, int raguid, int acdguid, System.Vector3 position, string name = "" ) : System
type AvoidanceType
snoid int
raguid int
acdguid int
position System.Vector3
name string
return System

CacheAvoidance() public method

public CacheAvoidance ( CacheObject parent, AvoidanceType avoidancetype ) : System
parent CacheObject
avoidancetype AvoidanceType
return System

CacheAvoidance() public method

public CacheAvoidance ( CacheObject parent, AvoidanceType type, Ray R, double speed ) : System
parent CacheObject
type AvoidanceType
R Ray
speed double
return System

PointInside() public method

public PointInside ( GridPoint Pos ) : bool
Pos GridPoint
return bool

PointInside() public method

public PointInside ( System.Vector3 V3 ) : bool
V3 System.Vector3
return bool

RefreshObject() public method

public RefreshObject ( ) : void
return void

TestIntersection() public method

public TestIntersection ( CacheObject OBJ, System.Vector3 BotPosition ) : bool
OBJ CacheObject
BotPosition System.Vector3
return bool

TestIntersection() public method

public TestIntersection ( System.Vector3 V1, System.Vector3 V2, bool CollisonRadius = true ) : bool
V1 System.Vector3
V2 System.Vector3
CollisonRadius bool
return bool

UpdateProjectileRayTest() public method

Check if this projectile will directly impact the bot.
public UpdateProjectileRayTest ( ) : bool
return bool