Peashooters
This commit is contained in:
parent
161f87da75
commit
68cfe89f1d
47 changed files with 1571 additions and 279 deletions
15
scripts/components/generic_collider.gd
Normal file
15
scripts/components/generic_collider.gd
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
extends Area2D
|
||||
|
||||
## Base class for generic colliders.
|
||||
|
||||
class_name GenericCollider
|
||||
|
||||
## Contact layer. Used to check
|
||||
enum Layers
|
||||
{
|
||||
NORMAL = 1,
|
||||
LOW = 2,
|
||||
HIGH = 4
|
||||
}
|
||||
|
||||
@export var layer : Layers = Layers.NORMAL
|
||||
Loading…
Add table
Add a link
Reference in a new issue