Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RectF32 ¶
Rectangle compatible with float32 type fields of ebiten.Vertex struct.
func (RectF32) DrawOuterRect ¶
type TeleComp ¶
TeleComp (Teleportable Component) holds information about the teleported parts of a game object. This teleported parts are rectangles divided by screen edges.
type TeleCompImage ¶
type TeleCompImage struct { TeleComp DrawOpts [4]ebiten.DrawImageOptions }
TeleCompImage is a TeleComp with drawing options for each rectangle to be used in the DrawImage method.
func (*TeleCompImage) Draw ¶
func (t *TeleCompImage) Draw(dst *ebiten.Image)
func (*TeleCompImage) SetColor ¶
func (t *TeleCompImage) SetColor(clr color.Color)
func (*TeleCompImage) Update ¶
func (t *TeleCompImage) Update(pureRect *RectF32)
type TeleCompTriang ¶
type TeleCompTriang struct { TeleComp // contains filtered or unexported fields }
TeleCompTriang is TeleComp with triangulation information for the DrawTriangles and DrawTriangleShader methods
func (*TeleCompTriang) SetColor ¶
func (t *TeleCompTriang) SetColor(clr *color.RGBA)
func (*TeleCompTriang) Triangles ¶
func (t *TeleCompTriang) Triangles() ([]ebiten.Vertex, []uint16)
func (*TeleCompTriang) Update ¶
func (t *TeleCompTriang) Update(pureRect *RectF32)
Click to show internal directories.
Click to hide internal directories.