Example #1
0
        static AttributeTypes()
        {
            Strength     = new GameEntityGenericAttributeType <int>("Strength");
            Dexterity    = new GameEntityGenericAttributeType <int>("Dexterity");
            Intelligence = new GameEntityGenericAttributeType <int>("Intelligence");

            Health = new GameEntityGenericAttributeType <float>("Health");
            Mana   = new GameEntityGenericAttributeType <float>("Mana");
        }
Example #2
0
 public IGameEntityGenericAttribute <T> GetAttribute <T>(GameEntityGenericAttributeType <T> attributeType) where T : struct, IComparable <T>, IEquatable <T>
 {
     throw new NotImplementedException();
 }