Animals can now be bought in AnimalShop
if bought they will be placed somewhere random on the map
This commit is contained in:
parent
acd602c85a
commit
441ffb900a
34 changed files with 2387 additions and 265 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System.Collections.Generic;
|
||||
using UnityEditorInternal;
|
||||
using UnityEngine;
|
||||
|
||||
public class ElementStorage<T> : MonoBehaviour {
|
||||
|
|
@ -7,7 +8,7 @@ public class ElementStorage<T> : MonoBehaviour {
|
|||
public T[] startElements;
|
||||
|
||||
/**
|
||||
* Methods can be added to this and they will get called every time onItemChangedCallback gets Invoked
|
||||
* Methods can be added to this and they will get called every time onElementChangedCallback gets Invoked
|
||||
*/
|
||||
public delegate void OnElementChanged();
|
||||
public OnElementChanged onElementChangedCallback;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue