C# Class Terraria.GameContent.UI.WorldUIAnchor

Afficher le fichier Open project: EmuDevs/EDTerraria Class Usage Examples

Méthodes publiques

Свойство Type Description
entity System.Entity
pos Vector2
size Vector2
type AnchorType

Méthodes publiques

Méthode 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 méthode

public InRange ( Vector2 target, float tileRangeX, float tileRangeY ) : bool
target Vector2
tileRangeX float
tileRangeY float
Résultat bool

WorldUIAnchor() public méthode

public WorldUIAnchor ( ) : Microsoft.Xna.Framework
Résultat Microsoft.Xna.Framework

WorldUIAnchor() public méthode

public WorldUIAnchor ( System.Entity anchor ) : Microsoft.Xna.Framework
anchor System.Entity
Résultat Microsoft.Xna.Framework

WorldUIAnchor() public méthode

public WorldUIAnchor ( Vector2 anchor ) : Microsoft.Xna.Framework
anchor Vector2
Résultat Microsoft.Xna.Framework

WorldUIAnchor() public méthode

public WorldUIAnchor ( int topLeftX, int topLeftY, int width, int height ) : Microsoft.Xna.Framework
topLeftX int
topLeftY int
width int
height int
Résultat Microsoft.Xna.Framework

Property Details

entity public_oe property

public Entity,System entity
Résultat System.Entity

pos public_oe property

public Vector2 pos
Résultat Vector2

size public_oe property

public Vector2 size
Résultat Vector2

type public_oe property

public AnchorType type
Résultat AnchorType