메소드 | 설명 | |
---|---|---|
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 |