virtualx-engine/demos/2d/platformer/bullet.gd

21 lines
242 B
GDScript3
Raw Normal View History

2014-02-10 02:10:30 +01: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
pass