Exemplo n.º 1
0
 protected Actor(DrawTag drawTag, string name)
     : base(drawTag, name)
 {
     nextAction = null;
     canOpenDoors = false;
     energy = 0;
 }
Exemplo n.º 2
0
        public Entity(DrawTag drawTag, string name)
        {
            _location = new Location(0, 0);
            this.name = name;
            _drawTag = drawTag;

            discovered = false;
            lit = LIT_DIM;
        }
Exemplo n.º 3
0
        protected Effect(int interval, DrawTag drawTag, Location coord)
        {
            TimerCallback callback = atInterval;

            timer = new System.Threading.Timer(callback, null, 0, interval);

            this.drawTag = drawTag;
            this.coord = coord;
            finished = false;
        }
Exemplo n.º 4
0
 protected Monster(DrawTag drawTag, string name)
     : base(drawTag, name)
 {
     _canSeePlayer = false;
     faction = Faction.Evil;
 }
Exemplo n.º 5
0
 protected Item(DrawTag drawTag, string name)
     : base(drawTag, name)
 {
 }