UNPKG
gentyl
Version:
latest (1.1.0)
1.1.0
1.0.0
0.4.3
0.4.2
0.4.1
0.4.0
0.3.1
0.3.0
0.2.2
0.2.1
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0
A Generator That You'll Love
github.com/Space-Ed/gentyl
Space-Ed/gentyl
gentyl
/
ts_src
/
inventory
/
io.ts
17 lines
(11 loc)
•
254 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace
Gentyl
.
Inventory
{
export
function
placeInput
(
input
){
this
.
_placed
= input; }
export
function
pickupInput
(
obj, arg
){
return
this
.
_placed
; }
export
function
retract
(
obj, arg
){
return
arg } }