ui starting, menu screen, ingame help
This commit is contained in:
@ -43,9 +43,9 @@ type UiWindow struct {
|
||||
fillage types.RectFill
|
||||
}
|
||||
|
||||
func (layer *Layer) NewWindow(x, y, w, h int) *UiWindow {
|
||||
func (layer *Layer) NewWindow(rect *types.Rect) *UiWindow {
|
||||
return &UiWindow{
|
||||
Rect: types.NewRect(x, y, w, h),
|
||||
Rect: rect,
|
||||
layer: layer,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user