12 lines
222 B
GDScript
12 lines
222 B
GDScript
extends Node
|
|
|
|
var _collectibles: Array
|
|
|
|
|
|
func addCollectible (coll):
|
|
Logger.info("appending new collectible: " + String(coll.get_instance_id()))
|
|
_collectibles.append(coll)
|
|
|
|
|
|
func getCount ():
|
|
return _collectibles.size() |