mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-15 10:53:47 +00:00
Automatic box deselection
This commit is contained in:
parent
cc5376e94e
commit
ad985ce1ac
6 changed files with 73 additions and 19 deletions
|
|
@ -36,8 +36,13 @@ public partial class Interactable : Area2D
|
|||
return true;
|
||||
}
|
||||
|
||||
public virtual void Activate()
|
||||
public virtual bool Activate()
|
||||
{
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public virtual bool CanActivate()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ animations = [{
|
|||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_elja3")
|
||||
}],
|
||||
"loop": true,
|
||||
"loop": false,
|
||||
"name": &"Closed",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
|
|
@ -47,7 +47,7 @@ animations = [{
|
|||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_f10r8")
|
||||
}],
|
||||
"loop": true,
|
||||
"loop": false,
|
||||
"name": &"Closing",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
|
|
@ -55,7 +55,7 @@ animations = [{
|
|||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_faho7")
|
||||
}],
|
||||
"loop": true,
|
||||
"loop": false,
|
||||
"name": &"Open",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
|
|
@ -66,7 +66,7 @@ animations = [{
|
|||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_x1bfm")
|
||||
}],
|
||||
"loop": true,
|
||||
"loop": false,
|
||||
"name": &"Opening",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue