Class Collision
Inheritance
System.Object
Collision
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Oasys.SDK
Assembly: Oasys.SDK.dll
Syntax
public static class Collision
Methods
IsLineCollision(Vector2, Vector2[], Int32)
Declaration
public static bool IsLineCollision(Vector2 pos1, Vector2[] line, int spellWidth)
Parameters
Type | Name | Description |
---|---|---|
SharpDX.Vector2 | pos1 | |
SharpDX.Vector2[] | line | |
System.Int32 | spellWidth |
Returns
Type | Description |
---|---|
System.Boolean |
MinionCollision(Vector2, Int32)
Declaration
public static bool MinionCollision(Vector2 targetPosition, int width)
Parameters
Type | Name | Description |
---|---|---|
SharpDX.Vector2 | targetPosition | |
System.Int32 | width |
Returns
Type | Description |
---|---|
System.Boolean |
MinionCollision(Vector3, Int32)
Declaration
public static bool MinionCollision(Vector3 targetPosition, int width)
Parameters
Type | Name | Description |
---|---|---|
SharpDX.Vector3 | targetPosition | |
System.Int32 | width |
Returns
Type | Description |
---|---|
System.Boolean |