예제 #1
0
파일: TerrainClone.cs 프로젝트: jimu/ZunTzu
 /// <summary>Piece constructor.</summary>
 public TerrainClone(TerrainClone prototype)
 {
     this.prototype = (TerrainPrototype)prototype.Prototype;
     rotationAngle  = prototype.rotationAngle;
     side           = prototype.Side;
     stack.AttachedToCounterSection = false;
 }
예제 #2
0
파일: TerrainClone.cs 프로젝트: jimu/ZunTzu
 /// <summary>Piece constructor.</summary>
 public TerrainClone(TerrainPrototype prototype)
 {
     this.prototype = prototype;
     side           = (CounterSection.Type == CounterSectionType.BackSideOnly ? Side.Back : Side.Front);
     stack.AttachedToCounterSection = false;
 }