forked from kanium/starcheese
13 lines
196 B
GDScript3
13 lines
196 B
GDScript3
|
|
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
|