changes to how MoveItemMessage is handled; AvatarService messages for MoveItem purposes; stop shooting and put away weapon when sitting down

This commit is contained in:
FateJH 2018-05-08 00:07:11 -04:00
parent dd4b586bef
commit e61f1dbdfc
6 changed files with 155 additions and 68 deletions

View file

@ -20,4 +20,8 @@ object InventoryItem {
def apply(obj : Equipment, start : Int) : InventoryItem = {
new InventoryItem(obj, start)
}
def unapply(entry : InventoryItem) : Option[(Equipment, Int)] = {
Some((entry.obj, entry.start))
}
}