remove demo game
This commit is contained in:
18
asset.def.go
Normal file
18
asset.def.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package pncdsl
|
||||
|
||||
type AssetKind int
|
||||
|
||||
const (
|
||||
AssetImage AssetKind = iota
|
||||
AssetAudio
|
||||
AssetFont
|
||||
)
|
||||
|
||||
type Asset struct {
|
||||
Name string
|
||||
Path string
|
||||
Kind AssetKind
|
||||
}
|
||||
|
||||
func (a Asset) GetName() string { return a.Name }
|
||||
func (a Asset) TypeLabel() string { return "asset" }
|
||||
Reference in New Issue
Block a user