C# Class Terraria.GameContent.Skies.MartianSky.Ufo

Mostra file Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
Depth float
FrameHeight int
FrameWidth int
GlowTexture Terraria.Texture2D
IsActive bool
Opacity float
Position Vector2
Random System.Random
Rotation float
Scale float

Public Methods

Method Description
AssignNewBehavior ( ) : void
GetSourceRectangle ( ) : Rectangle
Ufo ( Terraria.Texture2D texture, float depth = 1f ) : Microsoft.Xna.Framework
Update ( ) : bool

Method Details

AssignNewBehavior() public method

public AssignNewBehavior ( ) : void
return void

GetSourceRectangle() public method

public GetSourceRectangle ( ) : Rectangle
return Rectangle

Ufo() public method

public Ufo ( Terraria.Texture2D texture, float depth = 1f ) : Microsoft.Xna.Framework
texture Terraria.Texture2D
depth float
return Microsoft.Xna.Framework

Update() public method

public Update ( ) : bool
return bool

Property Details

Depth public_oe property

public float Depth
return float

FrameHeight public_oe property

public int FrameHeight
return int

FrameWidth public_oe property

public int FrameWidth
return int

GlowTexture public_oe property

public Texture2D,Terraria GlowTexture
return Terraria.Texture2D

IsActive public_oe property

public bool IsActive
return bool

Opacity public_oe property

public float Opacity
return float

Position public_oe property

public Vector2 Position
return Vector2

Random public_oe static_oe property

public static Random,System Random
return System.Random

Rotation public_oe property

public float Rotation
return float

Scale public_oe property

public float Scale
return float