2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
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
|
2014-02-19 14:57:14 +00:00
|
|
|
get_node("Timer").start()
|
2014-02-10 01:10:30 +00:00
|
|
|
pass
|
|
|
|
|
|
|
|
|