C# Class RLRender, nightmare_cooperative

Inheritance: MonoBehaviour
Mostrar archivo Open project: jonbro/nightmare_cooperative

Public Properties

Property Type Description
bgt RenderTiles,
fgt RenderTiles,
mat Material
tileSize int
worldSize float

Public Methods

Method Description
AssignTileFromChar ( int x, int y, char t ) : void
AssignTileFromChar ( int x, int y, char t, Color fgColor, Color bgColor ) : void
AssignTileFromOffset ( int x, int y, int sx, int sy, Color fgc, Color bgc, int rotate ) : void
Awake ( ) : void
Console ( string t, int startX, int startY ) : void
GetForegroundColor ( int x, int y ) : Color
SetForegroundColor ( int x, int y, Color c ) : void
SetOffset ( int x, int y ) : void
Setup ( int mapSizeX, int mapSizeY, float screenSizeX, float screenSizeY ) : void
Start ( ) : void

Private Methods

Method Description
AddTileRenender ( GameObject g ) : RenderTiles,

Method Details

AssignTileFromChar() public method

public AssignTileFromChar ( int x, int y, char t ) : void
x int
y int
t char
return void

AssignTileFromChar() public method

public AssignTileFromChar ( int x, int y, char t, Color fgColor, Color bgColor ) : void
x int
y int
t char
fgColor Color
bgColor Color
return void

AssignTileFromOffset() public method

public AssignTileFromOffset ( int x, int y, int sx, int sy, Color fgc, Color bgc, int rotate ) : void
x int
y int
sx int
sy int
fgc Color
bgc Color
rotate int
return void

Awake() public method

public Awake ( ) : void
return void

Console() public method

public Console ( string t, int startX, int startY ) : void
t string
startX int
startY int
return void

GetForegroundColor() public method

public GetForegroundColor ( int x, int y ) : Color
x int
y int
return Color

SetForegroundColor() public method

public SetForegroundColor ( int x, int y, Color c ) : void
x int
y int
c Color
return void

SetOffset() public method

public SetOffset ( int x, int y ) : void
x int
y int
return void

Setup() public method

public Setup ( int mapSizeX, int mapSizeY, float screenSizeX, float screenSizeY ) : void
mapSizeX int
mapSizeY int
screenSizeX float
screenSizeY float
return void

Start() public method

public Start ( ) : void
return void

Property Details

bgt public_oe property

public RenderTiles, bgt
return RenderTiles,

fgt public_oe property

public RenderTiles, fgt
return RenderTiles,

mat public_oe property

public Material mat
return Material

tileSize public_oe property

public int tileSize
return int

worldSize public_oe property

public float worldSize
return float