forked from kanium/starcheese
13 lines
196 B
GDScript
13 lines
196 B
GDScript
class_name Event
|
|
extends RefCounted
|
|
|
|
var type: String
|
|
var source: Variant
|
|
|
|
func _init(_source: Variant = null):
|
|
source = _source
|
|
type = self.get_class()
|
|
|
|
func get_type() -> String:
|
|
return type
|