Exemplo n.º 1
0
 public Detector(PositionInGrid position, double blastResistance, ArmanColor lockColor, bool blockMovableBlockOnApproach, bool isPartOfObjectives, PositionInGrid affectedPosition)
     : base(position, "Detector", false, blastResistance)
 {
     BlockMovableBlockOnApproach = blockMovableBlockOnApproach;
     LockColor = lockColor;
     IsPartOfObjectives = isPartOfObjectives;
     AffectedPosition = affectedPosition;
 }
Exemplo n.º 2
0
 public Detector(PositionInGrid position, string name, double blastResistance, ArmanColor lockColor, bool blockMovableBlockOnApproach, bool isPartOfObjectives)
     : base(position, name, false, blastResistance)
 {
     BlockMovableBlockOnApproach = blockMovableBlockOnApproach;
     LockColor = lockColor;
     IsPartOfObjectives = isPartOfObjectives;
     AffectedPosition = new PositionInGrid(-1);
 }
Exemplo n.º 3
0
 public MovableBlock(PositionInGrid position, bool canPush, bool canBePushed, ArmanColor keyColor)
     : base(position, "Movable block", canPush, canBePushed, 0, true, 1, true)
 {
     KeyColor = keyColor;
 }