Метод | Описание | |
---|---|---|
GetPortalColor ( int colorIndex ) : Color | ||
GetPortalColor ( int player, int portal ) : Color | ||
SupportedTilesAreFine ( Vector2 portalCenter, float portalAngle ) : bool | ||
SyncPortalSections ( Vector2 portalPosition, int fluff ) : void | ||
SyncPortalsOnPlayerJoin ( int plr, int fluff, List |
||
TryGoingThroughPortals ( Entity ent ) : void | ||
TryPlacingPortal ( |
||
UpdatePortalPoints ( ) : void |
Метод | Описание | |
---|---|---|
AddPortal ( Vector2 position, float angle, int form, int direction ) : int | ||
BlockPortals ( |
||
FindCollision ( Vector2 startPosition, Vector2 stopPosition ) : Vector2 | ||
FindValidLine ( Point position, int xOffset, int yOffset, Point &bestPosition ) : bool | ||
GetPortalEdges ( Vector2 position, float angle, Vector2 &start, Vector2 &end ) : void | ||
GetPortalOutingPoint ( Vector2 objectSize, Vector2 portalPosition, float portalAngle, int &bonusX, int &bonusY ) : Vector2 | ||
IsValidLine ( Point position, int xOffset, int yOffset ) : bool | ||
PortalHelper ( ) : Microsoft.Xna.Framework | ||
RemoveIntersectingPortals ( Vector2 position, float angle ) : void | ||
RemoveMyOldPortal ( int form ) : void | ||
SupportedHalfbrick ( int x, int y ) : bool | ||
SupportedNormal ( int x, int y ) : bool | ||
SupportedSlope ( int x, int y, int slope ) : bool |
public static GetPortalColor ( int colorIndex ) : Color | ||
colorIndex | int | |
Результат | Color |
public static GetPortalColor ( int player, int portal ) : Color | ||
player | int | |
portal | int | |
Результат | Color |
public static SupportedTilesAreFine ( Vector2 portalCenter, float portalAngle ) : bool | ||
portalCenter | Vector2 | |
portalAngle | float | |
Результат | bool |
public static SyncPortalSections ( Vector2 portalPosition, int fluff ) : void | ||
portalPosition | Vector2 | |
fluff | int | |
Результат | void |
public static SyncPortalsOnPlayerJoin ( int plr, int fluff, List |
||
plr | int | |
fluff | int | |
dontInclude | List |
|
portals | List |
|
portalCenters | List |
|
Результат | void |
public static TryGoingThroughPortals ( Entity ent ) : void | ||
ent | Entity | |
Результат | void |
public static TryPlacingPortal ( |
||
theBolt | ||
velocity | Vector2 | |
theCrashVelocity | Vector2 | |
Результат | int |
public static UpdatePortalPoints ( ) : void | ||
Результат | void |