tModLoader v2022.09
A mod to make and play Terraria mods
|
Static Public Member Functions | |
static bool | DrawBouncyBumper (int frameID) |
static bool | DrawBumper (int frameID) |
static bool | DrawLeftDecoration (int frameID) |
static bool | DrawRightDecoration (int frameID) |
static void | FlipSwitchTrack (int i, int j) |
static bool | FrameTrack (int i, int j, bool pound, bool mute=false) |
static bool | GetAreExpectationsForSidesMet (Point tileCoords, int? expectedYOffsetForLeft, int? expectedYOffsetForRight) |
static Vector2 | GetMagnetPosition (Vector2 Position, int Width, int Height) |
static bool | GetOnTrack (int tileX, int tileY, ref Vector2 Position, int Width, int Height) |
static Rectangle | GetSourceRect (int frameID, int animationFrame=0) |
static int | GetTrackItem (Tile trackCache) |
static void | GetWheelsPositions (Vector2 Position, int Width, int Height, bool followDown, bool followUp, Mount.MountDelegatesData delegatesData, out Vector2 leftWheel, out Vector2 rightWheel) |
static void | HitTrackSwitch (Vector2 Position, int Width, int Height) |
static void | Initialize () |
static bool | IsPressurePlate (Tile tile) |
static bool | OnTrack (Vector2 Position, int Width, int Height) |
static void | PlaceTrack (Tile trackCache, int style) |
static BitsByte | TrackCollision (ref Vector2 Position, ref Vector2 Velocity, ref Vector2 lastBoost, int Width, int Height, bool followDown, bool followUp, int fallStart, bool trackOnly, Mount.MountDelegatesData delegatesData) |
static void | TrackColors (int i, int j, Tile trackTile, out int frontColor, out int backColor) |
static float | TrackRotation (ref float rotation, Vector2 Position, int Width, int Height, bool followDown, bool followUp, Mount.MountDelegatesData delegatesData) |
static void | TryFittingTileOrientation (Point tileCoords, int? expectedYOffsetForLeft, int? expectedYOffsetForRight) |
static void | WheelSparks (Action< Vector2 > DustAction, Vector2 Position, int Width, int Height, int sparkCount) |