slendosaur/WikiJam/Util/Collector.gd

11 lines
145 B
GDScript3
Raw Normal View History

2019-11-23 14:23:09 +01:00
extends Node
var _collectibles: Array
func addCollectible (coll):
_collectibles.append(coll)
func getCount ():
return _collectibles.size()