started tile serializing
This commit is contained in:
@ -1,3 +0,0 @@
|
||||
- load prefabs
|
||||
- compose from gens and prefabs
|
||||
- editor for prefabs
|
@ -10,7 +10,6 @@ type Tile struct {
|
||||
Description string `json:"desc"`
|
||||
BlocksPass bool `json:"blocksPass"`
|
||||
BlocksSight bool `json:"blocksSight"`
|
||||
Colordance bool `json:"colordance"`
|
||||
Explored bool
|
||||
MustDraw bool
|
||||
Visible bool
|
||||
@ -46,7 +45,7 @@ func NewWall() *Tile {
|
||||
MustDraw: false,
|
||||
Appearance: &Appearance{
|
||||
Glyph: &PlainGlyphHolder{"#"},
|
||||
ColorSet: &TileColorSet{
|
||||
ColorSet: TileColorSet{
|
||||
Fg: &PlainColorHolder{255, 130, 110, 150},
|
||||
Bg: &PlainColorHolder{255, 172, 170, 173},
|
||||
DarkFg: &PlainColorHolder{255, 20, 20, 68},
|
||||
@ -66,7 +65,7 @@ func NewFloor() *Tile {
|
||||
MustDraw: false,
|
||||
Appearance: &Appearance{
|
||||
Glyph: &PlainGlyphHolder{"."},
|
||||
ColorSet: &TileColorSet{
|
||||
ColorSet: TileColorSet{
|
||||
Fg: &PlainColorHolder{255, 220, 220, 250},
|
||||
Bg: &PlainColorHolder{255, 19, 19, 70},
|
||||
DarkFg: &PlainColorHolder{255, 30, 20, 50},
|
||||
@ -85,11 +84,10 @@ func NewWaterTile() *Tile {
|
||||
BlocksSight: false,
|
||||
Explored: false,
|
||||
MustDraw: true, //fixme debug
|
||||
Colordance: true,
|
||||
|
||||
Appearance: &Appearance{
|
||||
Glyph: &PlainGlyphHolder{" "},
|
||||
ColorSet: &TileColorSet{
|
||||
ColorSet: TileColorSet{
|
||||
Fg: &PlainColorHolder{255, 220, 220, 250},
|
||||
Bg: &DanceColorHolder{
|
||||
255,
|
||||
@ -113,10 +111,9 @@ func NewDeepWaterTile() *Tile {
|
||||
BlocksSight: false,
|
||||
Explored: false,
|
||||
MustDraw: true, //fixme debug
|
||||
Colordance: true,
|
||||
Appearance: &Appearance{
|
||||
Glyph: &PlainGlyphHolder{" "},
|
||||
ColorSet: &TileColorSet{
|
||||
ColorSet: TileColorSet{
|
||||
Fg: &PlainColorHolder{255, 220, 220, 250},
|
||||
Bg: &DanceColorHolder{
|
||||
255,
|
||||
|
Reference in New Issue
Block a user