added Player GameObject, updated GrassTile.Clicked()
This commit is contained in:
parent
433158e658
commit
4612938b54
5 changed files with 76 additions and 5 deletions
|
|
@ -9,7 +9,7 @@ namespace Tiles
|
|||
{
|
||||
protected Color color;
|
||||
public Color getColor => color;
|
||||
// Later to be replaced with
|
||||
// TODO: Change to Sprite, also in subclasses
|
||||
// public Sprite sprite;
|
||||
|
||||
protected BaseTile(Color color)
|
||||
|
|
@ -32,9 +32,10 @@ namespace Tiles
|
|||
|
||||
}
|
||||
|
||||
public void Clicked(UsableItem usable)
|
||||
public BaseTile Clicked(UsableItem usable)
|
||||
{
|
||||
Debug.Log(usable.ToString() + " used on " + this.ToString());
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue