refactor level, getting to tiles
This commit is contained in:
@ -10,11 +10,6 @@ type Layer struct {
|
||||
defaultColor uint32
|
||||
}
|
||||
|
||||
func AddLayer(idx int, colorName string) Layer {
|
||||
c := blt.ColorFromName(colorName)
|
||||
return Layer{idx: idx, defaultColor: c}
|
||||
}
|
||||
|
||||
func (layer *Layer) before() *Layer {
|
||||
blt.Layer(layer.idx)
|
||||
return layer
|
||||
|
Reference in New Issue
Block a user