summaryrefslogtreecommitdiff
path: root/demos/2d/platformer/bullet.gd
blob: 6836116aa4c2e8eb6b507f7aacde2d785262f809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

extends RigidBody2D

# member variables here, example:
# var a=2
# var b="textvar"

var disabled=false

func disable():
	if (disabled):
		return
	get_node("anim").play("shutdown")
	disabled=true

func _ready():
	# Initalization here
	pass