MCPcopy Create free account

hub / github.com/JoelOtter/termloop / types & classes

Types & classes33 in github.com/JoelOtter/termloop

↓ 4 callersTypeAliasAttr
termloop.go:148
↓ 3 callersTypeAliasEventType
termloop.go:151
↓ 1 callersTypeAliasKey
termloop.go:149
↓ 1 callersTypeAliasModifier
termloop.go:150
StructAudio
The Audio type represents the audio controller. It should be used as a singleton, as multiple streams in PortAudio may not be supported on some hardwa
extra/audio.go:18
StructBaseLevel
BaseLevel type represents a Level with a background defined as a Cell, which is tiled. The background is drawn first, then all Entities.
level.go:15
StructBlock
Termloop stuff
_examples/pyramid.go:104
TypeAliasCanvas
A Canvas is a 2D array of Cells, used for drawing. The structure of a Canvas is an array of columns. This is so it can be addressed canvas[x][y].
termloop.go:11
StructCell
Abstract Termbox stuff for convenience - users should only need Termloop imported Represents a character to be drawn on the screen.
termloop.go:110
StructClickable
_examples/click.go:40
StructCollRec
_examples/collision.go:5
InterfaceDrawable
Drawable represents something that can be drawn, and placed in a Level.
termloop.go:71
InterfaceDynamicPhysical
DynamicPhysical represents something that can process its own collisions. Implementing this is an optional addition to Drawable.
termloop.go:86
StructEntity
Entity provides a general Drawable to be rendered.
entity.go:4
FuncTypeEntityParser
An EntityParser is a function which composes an object from data that has been parsed from a JSON file. Returns a Drawable
map.go:16
StructEvent
Provides an event, for input, errors or resizing. Resizing and errors are largely handled by Termloop itself - this would largely be used for input.
termloop.go:125
StructEventInfo
_examples/click.go:8
StructFpsText
Utility types and associated methods FpsText provides a Text which updates with the current 'framerate' at specified intervals, to be used for testing
util.go:11
StructGame
Represents a top-level Termloop application.
game.go:10
StructImage
_examples/image.go:11
InterfaceLevel
Level interface represents a Drawable with a separate background that is drawn first. It can also contain Drawables of its own.
level.go:5
StructMovingText
_examples/movingtext.go:9
InterfacePhysical
Physical represents something that can collide with another Physical, but cannot process its own collisions. Optional addition to Drawable.
termloop.go:79
StructPlayer
_examples/tutorial.go:5
StructPlayer
_examples/levelmap.go:8
StructPoint
Maze generation stuff
_examples/pyramid.go:14
StructRectangle
A type representing a 2D rectangle, with position, size and color.
rectangle.go:4
StructScreen
A Screen represents the current state of the display. To draw on the screen, create Drawables and set their positions. Then, add them to the Screen's
screen.go:8
StructSoundCtrl
_examples/audio.go:17
StructText
Text represents a string that can be drawn to the screen.
text.go:4
StructTrack
The Track type represents an audio track which can be played.
extra/audio.go:24
Structinput
input.go:5
StructlevelMap
map.go:8