tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.PortalHelper Class Reference

Static Public Member Functions

static Color GetPortalColor (int colorIndex)
 
static Color GetPortalColor (int player, int portal)
 
static bool SupportedTilesAreFine (Vector2 portalCenter, float portalAngle)
 
static void SyncPortalSections (Vector2 portalPosition, int fluff)
 
static void SyncPortalsOnPlayerJoin (int plr, int fluff, List< Point > dontInclude, out List< Point > portals, out List< Point > portalCenters)
 
static void TryGoingThroughPortals (Entity ent)
 
static int TryPlacingPortal (Projectile theBolt, Vector2 velocity, Vector2 theCrashVelocity)
 
static void UpdatePortalPoints ()
 

Static Public Attributes

const int PORTALS_PER_PERSON = 2