21 lines
396 B
GDScript3
21 lines
396 B
GDScript3
|
|
extends Area2D
|
||
|
|
class_name Event
|
||
|
|
|
||
|
|
enum Type{
|
||
|
|
Chat,
|
||
|
|
Item
|
||
|
|
}
|
||
|
|
|
||
|
|
@export var type : Type
|
||
|
|
@export_multiline var text : String
|
||
|
|
@export var texture : Texture
|
||
|
|
|
||
|
|
# Called when the node enters the scene tree for the first time.
|
||
|
|
func _ready() -> void:
|
||
|
|
pass # Replace with function body.
|
||
|
|
|
||
|
|
|
||
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||
|
|
func _process(delta: float) -> void:
|
||
|
|
pass
|