Search
Preparing search index...
The search index is not available
malwoden
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
terminal
RetroTerminal
Class RetroTerminal
Hierarchy
BaseTerminal
RetroTerminal
Index
Constructors
constructor
Properties
back
Color
fore
Color
height
width
Methods
clear
delete
draw
Char
Code
draw
Glyph
fill
render
size
window
ToTile
Point
write
At
Constructors
constructor
new
Retro
Terminal
(
config
:
RetroTerminalConfig
)
:
RetroTerminal
Parameters
config:
RetroTerminalConfig
Returns
RetroTerminal
Properties
back
Color
back
Color
:
Color
fore
Color
fore
Color
:
Color
Readonly
height
height
:
number
Readonly
width
width
:
number
Methods
clear
clear
(
)
:
void
Returns
void
delete
delete
(
)
:
void
Deletes the terminal, removing the canvas.
Returns
void
draw
Char
Code
draw
Char
Code
(
pos
:
Vector2
, charCode
:
number
, foreColor
?:
Color
, backColor
?:
Color
)
:
void
Parameters
pos:
Vector2
charCode:
number
Default value
foreColor:
Color
= this.foreColor
Default value
backColor:
Color
= this.backColor
Returns
void
draw
Glyph
draw
Glyph
(
pos
:
Vector2
, glyph
:
Glyph
)
:
void
Parameters
pos:
Vector2
glyph:
Glyph
Returns
void
fill
fill
(
v1
:
Vector2
, v2
:
Vector2
, glyph
:
Glyph
)
:
void
Parameters
v1:
Vector2
v2:
Vector2
glyph:
Glyph
Returns
void
render
render
(
)
:
void
Returns
void
size
size
(
)
:
Vector2
Returns
Vector2
window
ToTile
Point
window
ToTile
Point
(
pixel
:
Vector2
)
:
Vector2
Parameters
pixel:
Vector2
Returns
Vector2
write
At
write
At
(
pos
:
Vector2
, text
:
string
, fore
?:
Color
, back
?:
Color
)
:
void
Parameters
pos:
Vector2
text:
string
Default value
fore:
Color
= this.foreColor
Default value
back:
Color
= this.backColor
Returns
void
Globals
calc
fov
generation
gui
gui/util
input
pathfinding
rand
root
struct
terminal
Char
Code
Base
Terminal
Canvas
Terminal
Color
Display
Font
Glyph
Memory
Terminal
Retro
Terminal
constructor
back
Color
fore
Color
height
width
clear
delete
draw
Char
Code
draw
Glyph
fill
render
size
window
ToTile
Point
write
At
Test
Terminal
Canvas
Terminal
Config
Retro
Terminal
Config
Terminal
Config
Render
Glyph
unicode
Map
Generated using
TypeDoc
Deletes the terminal, removing the canvas.