TinyAdventure/addons/gdUnit4/src/monitor/GdUnitMonitor.gd

25 lines
361 B
GDScript

# GdUnit Monitoring Base Class
class_name GdUnitMonitor
extends RefCounted
var _id :String
# constructs new Monitor with given id
func _init(p_id :String) -> void:
_id = p_id
# Returns the id of the monitor to uniqe identify
func id() -> String:
return _id
# starts monitoring
func start() -> void:
pass
# stops monitoring
func stop() -> void:
pass