11 lines
145 B
GDScript3
11 lines
145 B
GDScript3
|
extends Node
|
||
|
|
||
|
var _collectibles: Array
|
||
|
|
||
|
|
||
|
func addCollectible (coll):
|
||
|
_collectibles.append(coll)
|
||
|
|
||
|
|
||
|
func getCount ():
|
||
|
return _collectibles.size()
|