Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.GameContent.Skies.MartianSky.Ufo Struct Reference

Public Member Functions

 Ufo (Texture2D texture, float depth=1f)
 
Rectangle GetSourceRectangle ()
 
bool Update ()
 
void AssignNewBehavior ()
 

Public Attributes

Texture2D GlowTexture
 
Vector2 Position
 
int FrameHeight
 
int FrameWidth
 
float Depth
 
float Scale
 
float Opacity
 
bool IsActive
 
float Rotation
 

Static Public Attributes

static UnifiedRandom Random = new UnifiedRandom()
 

Properties

int Frame [get, set]
 
Texture2D Texture [get, set]
 
IUfoController Controller [get, set]
 

Private Attributes

int _frame
 
Texture2D _texture
 
IUfoController _controller
 

Static Private Attributes

const int MAX_FRAMES = 3
 
const int FRAME_RATE = 4
 

Detailed Description

Definition at line 98 of file MartianSky.cs.


The documentation for this struct was generated from the following file: