support Inventory and Delegate

This commit is contained in:
JunDao
2019-05-19 17:44:49 +08:00
parent 2c41d9b901
commit 438285676d
6 changed files with 1163 additions and 857 deletions

View File

@ -12,7 +12,6 @@ type Player struct {
OnGround bool
HeldItem int //拿着的物品栏位
Inventory []entity.Slot
Health float32 //血量
Food int32 //饱食度