aboutsummaryrefslogtreecommitdiff
path: root/invaders/entity.go
blob: 023aace47c08828cdb3a6efcbc973cc849c89c3d (plain)
1
2
3
4
5
6
7
8
9
10
package invaders

import (
	tl "github.com/JoelOtter/termloop"
)

func CreateCanvas(fileContent []byte) tl.Canvas {
	canvas := tl.CanvasFromString(string(fileContent))
	return canvas
}