initial commit
This commit is contained in:
18
domain/character.cat.go
Normal file
18
domain/character.cat.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package domain
|
||||
|
||||
import (
|
||||
"image/color"
|
||||
|
||||
p "pncdsl/pncdsl"
|
||||
)
|
||||
|
||||
func defineCat(g *p.Game) {
|
||||
g.CharacterManager.Register(p.Character{
|
||||
Name: "cat",
|
||||
Sprite: "spr/cat",
|
||||
Speed: 40,
|
||||
SpeechColor: color.RGBA{200, 200, 255, 255},
|
||||
W: 18,
|
||||
H: 14,
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user