upd methods

This commit is contained in:
2019-10-27 01:30:57 +03:00
parent b8c8a65fa7
commit 0da505b01b
3 changed files with 27 additions and 7 deletions

View File

@ -17,7 +17,6 @@ type Level struct {
Name string
Branch string
Depth int
MaxRooms int
Objects []ecs.Entity
Tiles [][]*Tile
}
@ -34,7 +33,6 @@ func NewLevel(ctx util.ClientCtx, branch string, depth int) *Level {
l := &Level{
Name: branch + string(depth),
Depth: depth,
MaxRooms: maxrooms,
Rect: types.NewRect(0,0, mapWidth, mapHeight),
}