コード例 #1
0
		public Construct(uint x, uint y, MapField baseField, Color color) {
			Size = new Vector2u(x, y);
			Location = new MapFieldList(this);
			BaseField = baseField;
			color_ = color;
			newColor_ = color;
			SetTextureFromColor();
			BuildJob = new ConstructingJob(this);
		}
コード例 #2
0
 public Construct(uint x, uint y, MapField baseField, Color color)
 {
     Size      = new Vector2u(x, y);
     Location  = new MapFieldList(this);
     BaseField = baseField;
     color_    = color;
     newColor_ = color;
     SetTextureFromColor();
     BuildJob = new ConstructingJob(this);
 }