Example #1
0
 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();
 }
Example #2
0
 private void DumpDesires( OutlineWriter wr )
 {
     if( !_desires.Any() )
         return;
     wr.Line( "Desires" );
     _desires.ForEach( d => wr.Append( d.Dump( wr.Level + 1 ) ) );
 }
Example #3
0
 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();
 }
Example #4
0
 protected override void DumpAbilityContent( OutlineWriter wr )
 {
     DumpDesires( wr );
 }
Example #5
0
 protected override void DumpProcessContent( OutlineWriter wr ) {}
Example #6
0
 protected override void DumpProcessContent( OutlineWriter wr )
 {
     wr.Append( _innerReality.Dump( wr.Level ) );
 }