public Wall( Maze maze, Line2 line, float height, Texture2D texture ) { Maze = maze; Line = line; Height = height; Texture = texture; SetUpVertices( line, height ); }
public Wall( Maze maze, Vector2 start, Vector2 end, float height, Texture2D texture ) : this(maze, new Line2( start, end ), height, texture) { }