clicky clocky
timfa Tim · pushed by timfa
Authored 2022-10-21 · 4 years ago
- Hash
ce69466f6668799870d9936650fc3926633e69f1- Parent
fe9c78e1
1 file changed
+0
−10
@@ -32,11 +32,6 @@ class FruitInventory extends GameObject
32
32
33
33
moveToOpen (onDone)
34
34
{
35
if (this.state == MenuManager.States.moving)
36
return;
37
38
this.state = MenuManager.States.moving;
39
40
35
let context = this;
41
36
new TWEEN.Tween(this.transform.position)
42
37
.to({ y: 250 }, 1500)
@@ -47,11 +42,6 @@ class FruitInventory extends GameObject
47
42
48
43
moveToClose (onDone)
49
44
{
50
if (this.state == MenuManager.States.moving)
51
return;
52
53
this.state = MenuManager.States.moving;
54
55
45
let context = this;
56
46
new TWEEN.Tween(this.transform.position)
57
47
.to({ y: -500 }, 1500)
@@ -32,11 +32,6 @@ class FruitInventory extends GameObject32
32
33
moveToOpen (onDone)33
moveToOpen (onDone)34
{34
{35
if (this.state == MenuManager.States.moving)36
return;37
38
this.state = MenuManager.States.moving;39
40
let context = this;35
let context = this;41
new TWEEN.Tween(this.transform.position)36
new TWEEN.Tween(this.transform.position)42
.to({ y: 250 }, 1500)37
.to({ y: 250 }, 1500)@@ -47,11 +42,6 @@ class FruitInventory extends GameObject47
42
48
moveToClose (onDone)43
moveToClose (onDone)49
{44
{50
if (this.state == MenuManager.States.moving)51
return;52
53
this.state = MenuManager.States.moving;54
55
let context = this;45
let context = this;56
new TWEEN.Tween(this.transform.position)46
new TWEEN.Tween(this.transform.position)57
.to({ y: -500 }, 1500)47
.to({ y: -500 }, 1500)