changed water sprite, removed debug logs, farmland -> grass with shovel
This commit is contained in:
parent
cdd8ae7441
commit
74d6c7813c
6 changed files with 19 additions and 21 deletions
|
|
@ -19,10 +19,16 @@ namespace Tiles
|
|||
|
||||
public override BaseTile Clicked(UsableItem usable)
|
||||
{
|
||||
BaseTile rv = null;
|
||||
base.Clicked(usable);
|
||||
_crop.Clicked(usable);
|
||||
|
||||
if (ItemContainer.Instance.GetItemIdByName("Shovel") == usable.Id)
|
||||
{
|
||||
rv = new GrassTile(_gameObject);
|
||||
}
|
||||
|
||||
return null;
|
||||
return rv;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@ using UnityEngine;
|
|||
|
||||
namespace Tiles {
|
||||
public class WaterTile : BaseTile {
|
||||
public WaterTile(GameObject gameObject) : base("Assets/Farming Asset Pack/Split Assets/farming_tileset_023.png", gameObject) {
|
||||
public WaterTile(GameObject gameObject) : base("Assets/Farming Asset Pack/Split Assets/water_sprite_00.png", gameObject) {
|
||||
}
|
||||
|
||||
public override BaseTile Clicked(UsableItem usable) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue