public static void DoClamor(IntVec3 cell, float radius, Thing source, ClamorDef clamor)
 {
     if (clamor != null)
     {
         GenClamor.DoClamor(source, cell, radius, clamor);
     }
 }
Exemplo n.º 2
0
        public void Notify_Clamor(Thing source, ClamorDef clamorType)
        {
            TriggerSignal signal = default(TriggerSignal);

            signal.type       = TriggerSignalType.Clamor;
            signal.thing      = source;
            signal.clamorType = clamorType;
            CheckTransitionOnSignal(signal);
        }
Exemplo n.º 3
0
 public TriggerSignal(TriggerSignalType type)
 {
     this.type            = type;
     memo                 = null;
     thing                = null;
     dinfo                = default(DamageInfo);
     condition            = PawnLostCondition.Undefined;
     faction              = null;
     clamorType           = null;
     previousRelationKind = null;
 }
Exemplo n.º 4
0
 public Trigger_OnClamor(ClamorDef clamorType)
 {
     this.clamorType = clamorType;
 }