Added new Game logic library to assist with game projects
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
namespace OmegaLeo.HelperLib.Game.Models
|
||||
{
|
||||
[System.Serializable]
|
||||
public class Loot<T>
|
||||
{
|
||||
public T Item { get; set; }
|
||||
public float Weight { get; set; }
|
||||
|
||||
public Loot(T item, float quantity)
|
||||
{
|
||||
Item = item;
|
||||
Weight = quantity;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user