string IResearchable.Dump( int level ) { var wr = new OutlineWriter( level ); wr.Line( "{0} <{1}>", IWorld.Name, typeof( World ).Name ); wr.Append( _agent.Dump( wr.Level + 1 ) ); return wr.ToString(); }
private void DumpDesires( OutlineWriter wr ) { if( !_desires.Any() ) return; wr.Line( "Desires" ); _desires.ForEach( d => wr.Append( d.Dump( wr.Level + 1 ) ) ); }
public static string NewLine( int level, string template, params object[] args ) { var wr = new OutlineWriter( level ); wr.Line(); wr.Indent(); wr.Append( template, args ); return wr.ToString(); }
protected override void DumpAbilityContent( OutlineWriter wr ) { DumpDesires( wr ); }
protected override void DumpProcessContent( OutlineWriter wr ) {}
protected override void DumpProcessContent( OutlineWriter wr ) { wr.Append( _innerReality.Dump( wr.Level ) ); }