Behaviours
BxSegment Class Reference

Inherits BxBehaviour.

Classes

class  Effect
 

Public Member Functions

void SetCharShape (int Character, int SegmentMask)
 
delegate void EmptyCallback ()
 
void QueueText (string text, BxSegmentEffect effect, int TimeOn=10, int StartDelay=0, bool FlushQueue=false, string soundEffect="")
 / in FP: <String> Text, <Enumeration> Effect, <Integer> TimeOn, <Integer> StartDelay, <Boolean> FlushQueue, <String> SoundEffect ) More...
 
void StopPlay ()
 

Static Public Member Functions

static BxSegment Find (string name, bool create=true)
 

Public Attributes

FP_Segment fpImport
 FP Import script.
 
int m_nbDigits
 Number of digits.
 
Texture2D SegmentTex =null
 FP full digit image.
 
List< bool[]> mixed_buffer
 

Protected Member Functions

void RestoreStates ()
 

Protected Attributes

int m_updateInterval
 
int m_alignment
 Text alignement (0=left 1=center 2= right)
 
int m_slow_blink_speed
 
int m_fast_blink_speed
 
int m_boredom_delay
 
int m_style
 
Color m_lit_color
 
List< BxDigitDigitList =new List<BxDigit>()
 
EmptyCallback m_emptyCB = null
 
- Protected Attributes inherited from BxBehaviour
ImporterParams m_ip = null
 

Properties

EmptyCallback EmptyCB [get, set]
 
- Properties inherited from BxBehaviour
ImporterParams Params [get]
 

Member Function Documentation

void BxSegment.QueueText ( string  text,
BxSegmentEffect  effect,
int  TimeOn = 10,
int  StartDelay = 0,
bool  FlushQueue = false,
string  soundEffect = "" 
)

/ in FP: <String> Text, <Enumeration> Effect, <Integer> TimeOn, <Integer> StartDelay, <Boolean> FlushQueue, <String> SoundEffect )

Script function

=BxSegmentEffect.seNone)

(step_time<m_updateInterval) ? step_time : m_updateInterval;


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