Definition at line 19745 of file Player.cs.
19746 {
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19761 {
19762 return;
19763 }
19767 {
19769 }
19773 {
19774 num2 = position.Y - 1
f;
19775 }
19779 {
19781 }
19783 {
19785 {
19786 return;
19787 }
19790 {
19792 }
19795 {
19799 {
19800 Main.dust[
num4].position.X -= 10
f;
19801 }
19803 {
19804 Main.dust[
num4].position.Y -= 12
f;
19805 }
19807 obj.velocity *= 0.1f;
19808 Main.dust[
num4].scale *= 1.2f;
19809 Main.dust[
num4].noGravity =
true;
19811 }
19813 {
19815 }
19816 else
19817 {
19819 }
19821 }
19822 else if ((
flag && (
double)velocity.Y > 0.5 &&
gravDir == 1
f) || ((
double)velocity.Y < -0.5 &&
gravDir == -1
f))
19823 {
19826 {
19828 }
19829 else
19830 {
19832 }
19836 {
19837 Main.dust[
num5].position.X -= 10
f;
19838 }
19840 {
19841 Main.dust[
num5].position.Y -= 12
f;
19842 }
19844 obj2.velocity *= 0.1f;
19845 Main.dust[
num5].scale *= 1.2f;
19846 Main.dust[
num5].noGravity =
true;
19848 }
19849 }
Vector2 velocity
The velocity of this Entity in world coordinates per tick.
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.
static ArmorShaderDataSet Armor
int spikedBoots
Used by the Shoe Spikes and Climbing Claws to allow for holding onto walls (of tiles,...
Mount mount
This player's T:Terraria.Mount. Do not overwrite this value. Instead, call M:Terraria....
References Terraria.Mount.Active, Terraria.Graphics.Shaders.GameShaders.Armor, Terraria.Player.controlDown, Terraria.Player.controlLeft, Terraria.Player.controlRight, Terraria.Player.controlUp, Terraria.Player.cShoe, Terraria.Main.dust, Terraria.Player.fallStart, Terraria.Player.gravDir, Terraria.Player.gravity, Terraria.Entity.height, Terraria.Player.mount, Terraria.Dust.NewDust(), Terraria.Entity.position, Terraria.Player.slideDir, Terraria.Player.sliding, Terraria.Player.slowFall, Terraria.WorldGen.SolidTile(), Terraria.Player.spikedBoots, Terraria.Player.TryingToHoverUp, Terraria.Entity.velocity, and Terraria.Entity.width.
Referenced by Terraria.Player.Update().