Search
Preparing search index...
The search index is not available
malwoden
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
terminal
MemoryTerminal
Class MemoryTerminal
Hierarchy
BaseTerminal
MemoryTerminal
Index
Constructors
constructor
Properties
back
Color
fore
Color
glyphs
height
width
Methods
clear
delete
draw
Char
Code
draw
Glyph
fill
size
window
ToTile
Point
write
At
Constructors
constructor
new
Memory
Terminal
(
config
:
TerminalConfig
)
:
MemoryTerminal
Parameters
config:
TerminalConfig
Returns
MemoryTerminal
Properties
back
Color
back
Color
:
Color
fore
Color
fore
Color
:
Color
glyphs
glyphs
:
Table
<
Glyph
>
Readonly
height
height
:
number
Readonly
width
width
:
number
Methods
clear
clear
(
)
:
void
Returns
void
delete
delete
(
)
:
void
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
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
constructor
back
Color
fore
Color
glyphs
height
width
clear
delete
draw
Char
Code
draw
Glyph
fill
size
window
ToTile
Point
write
At
Retro
Terminal
Test
Terminal
Canvas
Terminal
Config
Retro
Terminal
Config
Terminal
Config
Render
Glyph
unicode
Map
Generated using
TypeDoc