diagnostic tool fixes

This commit is contained in:
2024-04-22 13:52:17 +03:00
parent 4f18b6db18
commit dc2e6ea2b5
20 changed files with 178 additions and 160 deletions

View File

@ -192,9 +192,9 @@ func main() {
potion2 := controller.CreateEntity([]ecs.Component{})
controller.AddComponent(potion2, types.Appearance{
Glyph: types.PlainGlyphHolder{"!"},
Glyph: types.PlainGlyphHolder{Glyph: "!"},
ColorSet: types.TileColorSet{
Fg: types.PlainColorHolder{255, 222, 255, 55},
Fg: types.PlainColorHolder{A: 255, R: 222, G: 255, B: 55},
},
})
controller.AddComponent(potion2, rooms[1].Center) //implicit Coords