|
static | PortalHelper () |
|
static bool | FindValidLine (Point position, int xOffset, int yOffset, out Point bestPosition) |
|
static bool | IsValidLine (Point position, int xOffset, int yOffset) |
|
static bool | CanPlacePortalOn (Tile t) |
|
static bool | DoesTileTypeSupportPortals (ushort tileType) |
|
static bool | BlockPortals (Tile t) |
|
static Vector2 | FindCollision (Vector2 startPosition, Vector2 stopPosition) |
|
static int | AddPortal (Projectile sourceProjectile, Vector2 position, float angle, int form, int direction) |
|
static void | RemoveMyOldPortal (int form) |
|
static void | RemoveIntersectingPortals (Vector2 position, float angle) |
|
static void | GetPortalEdges (Vector2 position, float angle, out Vector2 start, out Vector2 end) |
|
static Vector2 | GetPortalOutingPoint (Vector2 objectSize, Vector2 portalPosition, float portalAngle, out int bonusX, out int bonusY) |
|
static bool | SupportedSlope (int x, int y, int slope) |
|
static bool | SupportedHalfbrick (int x, int y) |
|
static bool | SupportedNormal (int x, int y) |
|
Definition at line 8 of file PortalHelper.cs.