Definition at line 17915 of file Player.cs.
17916 {
17917
17918
17919
17921 {
17922 return;
17923 }
17927 {
17928 return;
17929 }
17931 if (Main.tile[
num,
num2 - 1] ==
null)
17932 {
17934 }
17935 if (Main.tile[
num,
num2 + 1] ==
null)
17936 {
17938 }
17939 if ((!Main.tile[
num,
num2 - 1].active() || !Main.tileRope[Main.tile[
num,
num2 - 1].type]) && (!Main.tile[
num,
num2 + 1].active() || !Main.tileRope[Main.tile[
num,
num2 + 1].type]))
17940 {
17942 }
17950 {
17953 }
17955 {
17958 }
17960 {
17964 }
17966 {
17969 }
17971 {
17975 }
17977 {
17978 if (
whoAmI == Main.myPlayer)
17979 {
17980 Main.cameraX = Main.cameraX + position.X -
num4;
17981 }
17988 return;
17989 }
17994 {
17995 if (
whoAmI == Main.myPlayer)
17996 {
17997 Main.cameraX = Main.cameraX + position.X -
num4;
17998 }
18005 return;
18006 }
18011 {
18012 if (
whoAmI == Main.myPlayer)
18013 {
18014 Main.cameraX = Main.cameraX + position.X -
num4;
18015 }
18022 }
18023 }
int whoAmI
The index of this Entity within its specific array. These arrays track the entities in the world....
Vector2 position
The position of this Entity in world coordinates.
int width
The width of this Entity's hitbox, in pixels.
int height
The height of this Entity's hitbox, in pixels.
PortableStoolUsage portableStoolInfo
float gfxOffY
An offset from the actual position of the player that will be added to the draw position....
References Terraria.Player.controlDown, Terraria.Player.controlUp, Terraria.Entity.direction, Terraria.Player.gfxOffY, Terraria.Entity.height, Terraria.DataStructures.PortableStoolUsage.IsInUse, Terraria.WorldGen.IsRope(), Terraria.Main.myPlayer, Terraria.Player.portableStoolInfo, Terraria.Entity.position, Terraria.Player.pulley, Terraria.Player.pulleyDir, Terraria.Collision.SolidCollision(), Terraria.Player.stepSpeed, Terraria.Main.tile, Terraria.Main.tileRope, Terraria.Entity.whoAmI, and Terraria.Entity.width.
Referenced by Terraria.Player.Update().