Project Arrhythmia
A video game developed by Vitamin Games.
Loading...
Searching...
No Matches
DataManager.GameData.BeatmapObject Class Reference

Classes

class  EditorData
 

Public Types

enum  AutoKillType {
  OldStyleNoAutokill = 0 , LastKeyframe = 1 , LastKeyframeOffset = 2 , FixedTime = 3 ,
  SongTime = 4
}
 
enum  ObjectType {
  Normal = 0 , Helper = 1 , Decoration = 2 , Empty = 3 ,
  Hit = 4 , NoHit = 5 , AlphaEmpty = 6
}
 

Public Member Functions

bool isParentedToCamera ()
 
bool HasCameraParent ()
 
string GetParentType ()
 
bool HasParentOffset ()
 
bool GetParentType (int _index)
 
void SetParentType (int _index, bool _new)
 
List< float > getParentOffsets ()
 
float getParentOffset (int _index)
 
void SetParentOffset (int _index, float _new)
 
void InitEvents ()
 
 BeatmapObject (float _startTime)
 
 BeatmapObject (float _startTime, string _name, int _shape, string _text, List< EventKeyframes > _events)
 
float GetLongestSequence ()
 
float GetObjectLifeLength (float _offset=0, bool _oldStyle=false, bool _takeCollapseIntoConsideration=false)
 
int GetParentCount ()
 

Static Public Member Functions

static BeatmapObject DeepCopy (BeatmapObject orig, bool _newID=true)
 
static BeatmapObject ParseGameObject (JSONNode _object)
 

Public Attributes

bool initKeyframes = false
 
bool initObj = false
 
bool init = false
 
bool fromPrefab = false
 
string id = LSText.randomString(16)
 
string prefabID = ""
 
string prefabInstanceID = ""
 
string parent = ""
 
AutoKillType autoKillType = AutoKillType.OldStyleNoAutokill
 
float autoKillOffset = 0
 
ObjectType objectType = ObjectType.Normal
 
string name = null
 
string text = null
 
Vector2 origin = Vector2.zero
 
int shape = 0
 
int shapeOption = 0
 
int gradientType = 0
 
EditorData editorData = new EditorData()
 
List< EventKeyframesevents = new List<EventKeyframes>()
 

Properties

string ParentType [get, set]
 
List< float > ParentOffsets [get, set]
 
int Depth [get, set]
 
float StartTime [get, set]
 

Private Attributes

string parentType = "101"
 
List< float > parentOffsets = new List<float>()
 
int depth = DEFAULT_DEPTH
 
float _startTime = 0.0f
 

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