Speeds up world loading (#315)
- [X] Speeds up world loading - [X] Removes PeekChar cause it wasn't used - [X] Adds a BufferReader - [X] Removes BinaryFileReader - [X] Removes reading/writing `char` since it is not consistent and will cause a deserialize issue if used. Bumps version release
This commit is contained in:
parent
eb1c03c38b
commit
313eda6a3e
7 changed files with 175 additions and 91 deletions
|
|
@ -29,6 +29,12 @@ namespace Server
|
|||
m_End = new Point2D(end);
|
||||
}
|
||||
|
||||
public Rectangle2D(Point2D start, Point2D end)
|
||||
{
|
||||
m_Start = start;
|
||||
m_End = end;
|
||||
}
|
||||
|
||||
public Rectangle2D(int x, int y, int width, int height)
|
||||
{
|
||||
m_Start = new Point2D(x, y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue