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

Inheritance: CacheObject
Mostrar archivo Open project: herbfunk/Funky

Public Methods

Method Description
CacheObstacle ( CacheObject fromObj ) : System

CacheObstacle ( int snoid, int raguid, int acdguid, System.Vector3 position, string name = "" ) : System
Equals ( object obj ) : bool
GetHashCode ( ) : int
PointInside ( GridPoint Pos ) : bool
PointInside ( System.Vector3 V3 ) : bool
RefreshObject ( ) : void
TestIntersection ( CacheObject OBJ, System.Vector3 BotPosition ) : bool

Tests if this intersects with current bot position using CacheObject

TestIntersection ( GridPoint V1, GridPoint V2 ) : bool

Tests if this intersects between two gridpoints

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

Tests if this intersects between two vectors

Method Details

CacheObstacle() public method

public CacheObstacle ( CacheObject fromObj ) : System
fromObj CacheObject
return System

CacheObstacle() public method

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

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

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

Tests if this intersects with current bot position using CacheObject
public TestIntersection ( CacheObject OBJ, System.Vector3 BotPosition ) : bool
OBJ CacheObject
BotPosition System.Vector3
return bool

TestIntersection() public method

Tests if this intersects between two gridpoints
public TestIntersection ( GridPoint V1, GridPoint V2 ) : bool
V1 GridPoint
V2 GridPoint
return bool

TestIntersection() public method

Tests if this intersects between two vectors
public TestIntersection ( System.Vector3 V1, System.Vector3 V2, bool CollisonRadius = true ) : bool
V1 System.Vector3
V2 System.Vector3
CollisonRadius bool
return bool