Example #1
0
func (p *Player) CanPickUp(item gameObjectsBase.Itemer) bool {
	return p.Inventory.GetWeight()+item.GetWeight() <= p.GetCapacity()
}