public Event(Trigger trigger) { Contracts.Assert(() => {return trigger != null;}); m_trigger = trigger; m_trigger.TriggerOn += Start; m_trigger.TriggerOff += Stop; }
public FadeEvent(Camera camera, Colour start, Colour end, float duration, Trigger trigger, ObjectHouse house) : base(trigger) { m_house = house; fx_buffer.SetHUD(camera); fx_buffer.SetFading(1f/duration, start, end); }
public ShakeEvent(Camera camera, float shakiness, Trigger trigger, ObjectHouse house) : base(trigger) { m_house = house; fx_buffer.SetHUD(camera); m_shakiness = shakiness; }
public TextEvent(Trigger trigger, Text text, ObjectHouse house) : base(trigger) { m_text = text; m_house = house; }