more checking rooms

This commit is contained in:
anton.gurov
2019-11-12 14:52:17 +03:00
parent 4bdb51d9e3
commit 7837051e80
13 changed files with 82 additions and 37 deletions

View File

@ -38,12 +38,12 @@ var doubleBorder = types.RectFill{
}
type UiWindow struct {
*types.Rect
types.Rect
layer *Layer
fillage types.RectFill
}
func (layer *Layer) NewWindow(rect *types.Rect) *UiWindow {
func (layer *Layer) NewWindow(rect types.Rect) *UiWindow {
return &UiWindow{
Rect: rect,
layer: layer,