public override ScriptStats GetStatistics() { ScriptStats s = new ScriptStats(); s.StringBlock++; return(s); }
public ScriptStats GetStatistics() { ScriptStats s = Spine.GetStatistics(); s.Add(triggerSlot.GetStatistics()); return(s); }
public override ScriptStats GetStatistics() { ScriptStats s = new ScriptStats(); s.Add(this); return(s); }
public override ScriptStats GetStatistics() { ScriptStats s = new ScriptStats(); s.Not++; s.Add(slot1.GetStatistics()); return(s); }
public override ScriptStats GetStatistics() { ScriptStats s = new ScriptStats(); s.IfThen++; s.Add(slot.GetStatistics()); s.Add(Consequences.GetStatistics()); return(s); }
public ScriptStats GetStatistics() { ScriptStats s = new ScriptStats(); s.Add(this); if (slot.Contents != null) { s.Line = 1; s.Add(slot.GetStatistics()); } return(s); }
public override ScriptStats GetStatistics() { ScriptStats s = new ScriptStats(); s.Add(this); foreach (BlockSlot slot in GetSlots()) { s.Add(slot.GetStatistics()); } return(s); }
public ScriptStats GetStatistics() { ScriptStats s = new ScriptStats(); List <Peg> pegs = GetFilledPegs(); s.Line += pegs.Count; foreach (Peg peg in pegs) { s.Add(peg.Slot.GetStatistics()); } return(s); }
public void Add(ScriptStats stats) { line += stats.line; and += stats.and; or += stats.or; not += stats.not; numberBlock += stats.numberBlock; stringBlock += stats.stringBlock; ifthen += stats.ifthen; ifthenelse += stats.ifthenelse; whileloop += stats.whileloop; dowhileloop += stats.dowhileloop; objectblock += stats.objectblock; action += stats.action; condition += stats.condition; eventBlock += stats.eventBlock; Add(actions, stats.actions); Add(conditions, stats.conditions); Add(events, stats.events); }
public void Add(ScriptStats ss) { stats.Add(ss); }
public ModuleStats() { name = String.Empty; attachedScripts = 0; stats = new ScriptStats(); }