コード例 #1
0
 public Room(string aName, string aDescription, Rm aN, Rm aS, Rm aW, Rm aE, ThingList tl)
     : base(aName, aDescription, tl)
 {
     _n = aN;
     _s = aS;
     _e = aE;
     _w = aW;
 }
コード例 #2
0
        private Room _location; //where the actor is currently at

        public Actor(string aName, string aDescription, Room aRoom, ThingList tl) :
            base(aName, aDescription, tl)
        {
            _location = aRoom;
        }
コード例 #3
0
ファイル: ThingHolder.cs プロジェクト: JuliaKyung/csharpgame
 public ThingHolder(string aName, string aDescription, ThingList tl)
     : base(aName, aDescription)
 {
     _things = tl;
 }