Skip to content

Commit cf41b8e

Browse files
committed
added ability to create a new map section from nothing
1 parent 1b67ac4 commit cf41b8e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • src/main/java/net/ddns/endercypt/cs2dmap/library/map/sub/extra/map

src/main/java/net/ddns/endercypt/cs2dmap/library/map/sub/extra/map/MapSection.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
public class MapSection extends MapArray
66
{
7+
public MapSection(int width, int height)
8+
{
9+
super(width, height);
10+
}
11+
712
public MapSection(MapArray src, int x1, int y1, int x2, int y2)
813
{
914
super(x2 - x1 + 1, y2 - y1 + 1);

0 commit comments

Comments
 (0)