ticker
This commit is contained in:
parent
c5846aba7b
commit
074bb21ffd
18 changed files with 99 additions and 51 deletions
|
@ -33,6 +33,9 @@ func take(item : Item,amount: int) -> Stack
|
|||
@abstract
|
||||
func find(item : Item) -> int
|
||||
|
||||
@abstract
|
||||
func refresh() -> void
|
||||
|
||||
## Does inventory have certain item?
|
||||
func has(item : Item) -> bool:
|
||||
return find(item) != -1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue