public Brush(Color[] colors, TileProperties properties, bool[] collision) { Colors = colors; Properties = properties; Collision = collision; _textureSize = (int)Math.Sqrt(Colors.Length); _collisionSize = (int)Math.Sqrt(Collision.Length); }
public Tile() { Properties = new TileProperties(0); Collision = new bool[1]; }
protected bool Equals(TileProperties other) { return _setID == other._setID && _tileID == other._tileID && Rot == other.Rot; }
public TileProperties(TileProperties t) { ID = t.ID; Rot = t.Rot; }