Versions in this module Expand all Collapse all v0 v0.0.2 Jun 26, 2021 v0.0.1 Mar 17, 2021 Changes in this version + const CursorArrow + const CursorCrosshair + const CursorHResize + const CursorHand + const CursorIBeam + const CursorNone + const CursorVResize + const MouseSystemPriority + const MouseZoomerPriority + const RenderSystemPriority + func SetBackground(c color.Color) + type BytesResource struct + Buffer *bytes.Buffer + func NewBytesResource(buf *bytes.Buffer) BytesResource + func (t BytesResource) URL() string + type Cursor uint8 + type Drawable interface + Delete func() + Draw func(td float32) + Setup func() + type Mouse struct + Action minieng.Action + Button minieng.MouseButton + Modifer minieng.Modifier + ScrollX float32 + ScrollY float32 + X float32 + Y float32 + type MouseComponent struct + Clicked bool + Dragged bool + Enter bool + Hovered bool + Leave bool + Modifier minieng.Modifier + MouseX float32 + MouseY float32 + Released bool + RightClicked bool + RightDragged bool + RightReleased bool + Track bool + type MouseSystem struct + func (m *MouseSystem) Add(basic *minieng.BasicEntity, mouse *MouseComponent, space *SpaceComponent, ...) + func (m *MouseSystem) New(w *minieng.World) + func (m *MouseSystem) Priority() int + func (m *MouseSystem) Remove(basic minieng.BasicEntity) + func (m *MouseSystem) Update(dt float32) + type MouseZoomer struct + func (*MouseZoomer) Priority() int + func (*MouseZoomer) Remove(minieng.BasicEntity) + func (c *MouseZoomer) Update(float32) + type MouseZoomerMessage struct + ScrollY float32 + func (MouseZoomerMessage) Type() string + type RenderComponent struct + Drawable Drawable + Hidden bool + func (r *RenderComponent) SetZIndex(index float32) + type RenderSystem struct + func (*RenderSystem) Priority() int + func (rs *RenderSystem) Add(basic *minieng.BasicEntity, render *RenderComponent) + func (rs *RenderSystem) New(w *minieng.World) + func (rs *RenderSystem) Remove(basic minieng.BasicEntity) + func (rs *RenderSystem) RemoveAll() + func (rs *RenderSystem) Update(dt float32) + type SpaceComponent struct + Bounds image.Rectangle + func (m *SpaceComponent) Contains(pt image.Point) bool + type TextureResource struct + Img *image.RGBA + Texture *glplus.GPTexture + func NewTextureResource(img *image.RGBA) TextureResource + func (t TextureResource) URL() string