extended usable Items with UsableItem
This commit is contained in:
parent
fb9aa4e349
commit
0d49c92c15
8 changed files with 21 additions and 26 deletions
|
|
@ -1,12 +1,7 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace Items {
|
||||
public class FishingRod : Item, IUsable {
|
||||
public class FishingRod : UsableItem {
|
||||
public FishingRod() : base("Fishing Rod", "Can be used to fish fishy fish.", 1) { }
|
||||
|
||||
public void select() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||
using UnityEngine;
|
||||
|
||||
namespace Items {
|
||||
public class Hoe : Item {
|
||||
public class Hoe : UsableItem {
|
||||
public Hoe() : base("Hoe", "Used to hoe the ground into farmland.", 2){}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||
using UnityEngine;
|
||||
|
||||
namespace Items {
|
||||
public class Scythe : Item {
|
||||
public class Scythe : UsableItem {
|
||||
public Scythe() : base("Scythe", "Used to cut down crops.", 3){}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||
using UnityEngine;
|
||||
|
||||
namespace Items {
|
||||
public class WateringCan : Item {
|
||||
public class WateringCan : UsableItem {
|
||||
public WateringCan():base("Watering Can", "Used to water planted crops.", 4){}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||
using UnityEngine;
|
||||
|
||||
namespace Items {
|
||||
public class WheatSeed : Item {
|
||||
public class WheatSeed : UsableItem {
|
||||
public WheatSeed() : base("Wheat Seeds", "When planted on farmland, wheat will grow.", 6){}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue