Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Layer ¶
type Layer interface { OnAttach() OnDetach() OnUpdate() OnEvent(event.IEvent) GetLayerName() string }
I really can't decide if this should be implemented as an interface or struct. Interface feels right for now, as implementing as a struct is a little awkward. TODO: Decide
type LayerStack ¶
type LayerStack struct {
Layers []Layer
}
func (*LayerStack) PopLayer ¶
func (ls *LayerStack) PopLayer(layer Layer)
func (*LayerStack) PopOverlay ¶
func (ls *LayerStack) PopOverlay(layer Layer)
func (*LayerStack) PushLayer ¶
func (ls *LayerStack) PushLayer(layer Layer)
func (*LayerStack) PushOverlay ¶
func (ls *LayerStack) PushOverlay(layer Layer)
Click to show internal directories.
Click to hide internal directories.