C# Class Terraria.GameContent.UI.WorldUIAnchor

Mostra file Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
entity System.Entity
pos Vector2
size Vector2
type AnchorType

Public Methods

Method Description
InRange ( Vector2 target, float tileRangeX, float tileRangeY ) : bool
WorldUIAnchor ( ) : Microsoft.Xna.Framework
WorldUIAnchor ( System.Entity anchor ) : Microsoft.Xna.Framework
WorldUIAnchor ( Vector2 anchor ) : Microsoft.Xna.Framework
WorldUIAnchor ( int topLeftX, int topLeftY, int width, int height ) : Microsoft.Xna.Framework

Method Details

InRange() public method

public InRange ( Vector2 target, float tileRangeX, float tileRangeY ) : bool
target Vector2
tileRangeX float
tileRangeY float
return bool

WorldUIAnchor() public method

public WorldUIAnchor ( ) : Microsoft.Xna.Framework
return Microsoft.Xna.Framework

WorldUIAnchor() public method

public WorldUIAnchor ( System.Entity anchor ) : Microsoft.Xna.Framework
anchor System.Entity
return Microsoft.Xna.Framework

WorldUIAnchor() public method

public WorldUIAnchor ( Vector2 anchor ) : Microsoft.Xna.Framework
anchor Vector2
return Microsoft.Xna.Framework

WorldUIAnchor() public method

public WorldUIAnchor ( int topLeftX, int topLeftY, int width, int height ) : Microsoft.Xna.Framework
topLeftX int
topLeftY int
width int
height int
return Microsoft.Xna.Framework

Property Details

entity public_oe property

public Entity,System entity
return System.Entity

pos public_oe property

public Vector2 pos
return Vector2

size public_oe property

public Vector2 size
return Vector2

type public_oe property

public AnchorType type
return AnchorType