コード例 #1
0
        public GameAttribute ModifyAttribute <T>(double value) where T : GameAttribute
        {
            GameAttribute attrib = GetAttribute <T>();

            if (attrib != null)
            {
                attrib.Amount = value;
            }
            return(attrib);
        }
コード例 #2
0
 public void RemoveGameAttribute(GameAttribute ga)
 {
     BaseAttributes.Remove(ga);
 }