SYMBOL INDEX (139 symbols across 17 files) FILE: canvas.go type Canvas (line 7) | type Canvas method GetCellAt (line 17) | func (c Canvas) GetCellAt(x, y int) *TermBoxCell { method CheckCollision (line 21) | func (c Canvas) CheckCollision(x, y int) bool { method OverWriteCanvasCell (line 42) | func (c *Canvas) OverWriteCanvasCell(x, y int, termboxCell *TermBoxCel... method SetCellAt (line 49) | func (c *Canvas) SetCellAt(row, column int, cell *TermBoxCell) { method IsInsideOfBoundaries (line 53) | func (c *Canvas) IsInsideOfBoundaries(x, y int) bool { method IsInLastColumn (line 57) | func (c *Canvas) IsInLastColumn(x int) bool { function NewCanvas (line 9) | func NewCanvas(width, height int) Canvas { FILE: canvas_test.go function TestCanvasCheckCollision (line 9) | func TestCanvasCheckCollision(t *testing.T) { FILE: cmd/console/vimman.go function main (line 9) | func main() { FILE: entity.go type Direction (line 8) | type Direction constant horizontal (line 11) | horizontal Direction = iota constant vertical (line 12) | vertical type Entity (line 15) | type Entity struct method SetStage (line 45) | func (e *Entity) SetStage(s *Stage) { method GetStage (line 49) | func (e *Entity) GetStage() *Stage { method SetCells (line 53) | func (e *Entity) SetCells(s *Stage) { method GetCells (line 82) | func (e *Entity) GetCells() []*TermBoxCell { method Update (line 86) | func (e *Entity) Update(s *Stage, event termbox.Event, time time.Durat... method SetPosition (line 89) | func (e *Entity) SetPosition(x, y int) { method SetPositionX (line 94) | func (e *Entity) SetPositionX(x int) { method SetPositionY (line 98) | func (e *Entity) SetPositionY(y int) { method GetPositionX (line 102) | func (e *Entity) GetPositionX() int { method GetPositionY (line 106) | func (e *Entity) GetPositionY() int { method GetPosition (line 110) | func (e *Entity) GetPosition() (int, int) { method GetScreenOffset (line 114) | func (e *Entity) GetScreenOffset() (int, int) { method Destroy (line 119) | func (e *Entity) Destroy() { method GetDrawPriority (line 122) | func (e *Entity) GetDrawPriority() int { method GetTags (line 126) | func (e *Entity) GetTags() []Tag { method IsInsideOfCanvasBoundaries (line 130) | func (e *Entity) IsInsideOfCanvasBoundaries() bool { type EntityOptions (line 28) | type EntityOptions struct type Tag (line 34) | type Tag struct function NewEntity (line 38) | func NewEntity(s *Stage, x, y, w, h int, r rune, fg termbox.Attribute, b... FILE: game.go constant bgColor (line 11) | bgColor = termbox.ColorBlack constant fgColor (line 12) | fgColor = termbox.ColorWhite type Point (line 15) | type Point struct type Game (line 20) | type Game struct method setScreenSize (line 154) | func (g *Game) setScreenSize(x, y int) { method getScreenSize (line 164) | func (g *Game) getScreenSize() (int, int) { method getScreenSizeX (line 168) | func (g *Game) getScreenSizeX() int { method getScreenSizeY (line 172) | func (g *Game) getScreenSizeY() int { type GameOptions (line 27) | type GameOptions struct type VimManEvent (line 34) | type VimManEvent struct function NewGame (line 38) | func NewGame(opts GameOptions) *Game { type Renderer (line 46) | type Renderer interface function gameLoop (line 63) | func gameLoop(termboxEvents chan termbox.Event, vimManEvents chan VimMan... function termboxEventLoop (line 108) | func termboxEventLoop(e chan termbox.Event) { function exit (line 114) | func exit(events chan termbox.Event) { function Init (line 119) | func Init(level int) { FILE: level.go type VimMode (line 9) | type VimMode method String (line 17) | func (m VimMode) String() string { constant normalMode (line 12) | normalMode VimMode = iota constant insertMode (line 13) | insertMode constant colonMode (line 14) | colonMode constant levelTitleCoordX (line 22) | levelTitleCoordX int = 0 constant levelTitleCoordY (line 23) | levelTitleCoordY int = 1 constant levelTitleFg (line 24) | levelTitleFg termbox.Attribute = termbox.ColorGreen constant levelTitleBg (line 25) | levelTitleBg termbox.Attribute = termbox.ColorBlack constant levelExplanationCoordX (line 26) | levelExplanationCoordX int = 0 constant levelExplanationCoordY (line 27) | levelExplanationCoordY int = 2 constant levelHintCoordX (line 28) | levelHintCoordX int = 0 constant levelHintCoordY (line 29) | levelHintCoordY int = 3 constant typedCharacterFg (line 30) | typedCharacterFg termbox.Attribute = termbox.ColorWhite constant typedCharacterBg (line 31) | typedCharacterBg termbox.Attribute = termbox.ColorBlack type Level (line 34) | type Level struct method Update (line 52) | func (l *Level) Update(s *Stage, t time.Duration) { method SetCells (line 56) | func (l *Level) SetCells(s *Stage) { method GetSize (line 60) | func (l *Level) GetSize() (int, int) { method GetScreenOffset (line 72) | func (l *Level) GetScreenOffset() (int, int) { method LoadTileMapCells (line 88) | func (l *Level) LoadTileMapCells(parsedRunes [][]rune) [][]*TermBoxCell { method LoadTileMap (line 126) | func (l *Level) LoadTileMap() { method GetTileMapDimensions (line 132) | func (l *Level) GetTileMapDimensions() (int, int) { method InitDefaults (line 139) | func (l *Level) InitDefaults() { FILE: level1_basic_movement.go constant LevelBasicMovementTileMapString (line 5) | LevelBasicMovementTileMapString = ` function NewLevelBasicMovement (line 29) | func NewLevelBasicMovement(g *Game) *Level { FILE: level2_exiting_vim.go constant LevelExitingVimTileMapString (line 5) | LevelExitingVimTileMapString = ` function NewLevelExitingVim (line 30) | func NewLevelExitingVim(g *Game) *Level { FILE: level3_text_editing.go constant LevelTextEditingTileMapString (line 5) | LevelTextEditingTileMapString = ` function NewLevelTextEditing (line 30) | func NewLevelTextEditing(g *Game) *Level { FILE: level4_bomberman.go constant LevelBombermanTileMapString (line 8) | LevelBombermanTileMapString = ` function NewLevelBomberman (line 22) | func NewLevelBomberman(g *Game) *Level { FILE: logger.go type Logger (line 10) | type Logger struct method Log (line 28) | func (l *Logger) Log(strings ...string) { method LogValue (line 32) | func (l *Logger) LogValue(values ...interface{}) { method DumpLogs (line 41) | func (l *Logger) DumpLogs() { method WriteFile (line 47) | func (l *Logger) WriteFile(text string) { function GetLogger (line 19) | func GetLogger() *Logger { FILE: stage.go type Stage (line 17) | type Stage struct method AddCanvasEntity (line 54) | func (s *Stage) AddCanvasEntity(e ...Renderer) { method AddScreenEntity (line 58) | func (s *Stage) AddScreenEntity(e ...Renderer) { method AddTypedEntity (line 62) | func (s *Stage) AddTypedEntity(e ...Renderer) { method ClearCanvasEntities (line 66) | func (s *Stage) ClearCanvasEntities() { method SetGame (line 72) | func (s *Stage) SetGame(game *Game) { method Render (line 81) | func (s *Stage) Render() { method update (line 97) | func (s *Stage) update(ev termbox.Event, delta time.Duration) { method updateModeLabel (line 106) | func (s *Stage) updateModeLabel() { method updateColonLine (line 111) | func (s *Stage) updateColonLine() { method Init (line 115) | func (s *Stage) Init() { method SetLevel (line 124) | func (s *Stage) SetLevel(levelInstance *Level) { method Reset (line 144) | func (s *Stage) Reset() { method Resize (line 149) | func (s *Stage) Resize(w, h int) { method GetDefaultBgCell (line 173) | func (s *Stage) GetDefaultBgCell() *TermBoxCell { method GetRendererEntityByTag (line 177) | func (s *Stage) GetRendererEntityByTag(wantedTag Tag) Renderer { method SetCanvasBackgroundCells (line 191) | func (s *Stage) SetCanvasBackgroundCells() { method TermboxSetCell (line 207) | func (s *Stage) TermboxSetCell(x, y int, cell *TermBoxCell, offset boo... method TermboxSetCanvasCells (line 220) | func (s *Stage) TermboxSetCanvasCells() { method TermboxSetScreenCells (line 231) | func (s *Stage) TermboxSetScreenCells() { method TermboxSetTypedCells (line 248) | func (s *Stage) TermboxSetTypedCells() { method TermboxSetCursorCell (line 257) | func (s *Stage) TermboxSetCursorCell() { method CheckCollision (line 265) | func (s *Stage) CheckCollision(x, y int) bool { method ClearTileMapCellsAt (line 270) | func (s *Stage) ClearTileMapCellsAt(positions [][2]int) { function NewStage (line 36) | func NewStage(g *Game, level int, fps float64, bgCell *termbox.Cell) *St... FILE: termbox_cell.go type TermBoxCell (line 5) | type TermBoxCell struct function EmptyTileMapCell (line 11) | func EmptyTileMapCell() *TermBoxCell { FILE: tilemap.go function NewTileMapCell (line 8) | func NewTileMapCell(ch rune, fn func(), lineNumber int) TileMapCellData { type TileMapCellData (line 19) | type TileMapCellData struct type TileMapCellDataMap (line 29) | type TileMapCellDataMap function ParseLine (line 118) | func ParseLine(l string) []rune { function ParseTileMapString (line 131) | func ParseTileMapString(tileMap string) [][]rune { FILE: user.go type Class (line 9) | type Class type User (line 11) | type User struct method ShouldCenterHorizontally (line 15) | func (u *User) ShouldCenterHorizontally() bool { method handleNormalModeEvents (line 33) | func (u *User) handleNormalModeEvents(s *Stage, event termbox.Event) { method handleInsertModeEvents (line 86) | func (u *User) handleInsertModeEvents(s *Stage, event termbox.Event) { method handleColonModeEvents (line 158) | func (u *User) handleColonModeEvents(s *Stage, event termbox.Event) { method Update (line 174) | func (u *User) Update(s *Stage, event termbox.Event, delta time.Durati... function NewUser (line 19) | func NewUser(s *Stage, x, y int) (u *User) { FILE: utils.go function ContainsRune (line 5) | func ContainsRune(s []rune, e rune) bool { function ContainsString (line 14) | func ContainsString(s []string, e string) bool { function ContainsTermboxKey (line 23) | func ContainsTermboxKey(s []termbox.Key, e termbox.Key) bool { function MinInt (line 32) | func MinInt(a, b int) int { FILE: word.go type Word (line 8) | type Word struct method ShouldCenterHorizontally (line 18) | func (w *Word) ShouldCenterHorizontally() bool { method Update (line 74) | func (w *Word) Update(s *Stage, event termbox.Event, delta time.Durati... type WordOptions (line 22) | type WordOptions struct function ConvertStringToCells (line 31) | func ConvertStringToCells(s string, fg termbox.Attribute, bg termbox.Att... function NewWord (line 50) | func NewWord(s *Stage, x, y int, content string, options WordOptions) *W... function DefaultWordOptions (line 66) | func DefaultWordOptions() WordOptions { function NewEmptyCharacter (line 70) | func NewEmptyCharacter(s *Stage, x, y int, options WordOptions) *Word {