rename HeroAttributes -> HeroAttributesSO
This commit is contained in:
		| @@ -2,14 +2,17 @@ using System.Collections; | ||||
| using System.Collections.Generic; | ||||
| using UnityEngine; | ||||
| 
 | ||||
| public class HeroAttributes : ScriptableObject | ||||
| public class HeroAttributesSO : ScriptableObject | ||||
| { | ||||
|     // TODO(zeph): does these being private make it hard to create a new hero? | ||||
|     // what about applying effects? | ||||
|     [SerializeField] private Attribute STR; | ||||
|     [SerializeField] private Attribute MAG; | ||||
|     [SerializeField] private Attribute DEX; | ||||
|     [SerializeField] private Attribute CON; | ||||
|     [SerializeField] private Attribute CHA; | ||||
|     [SerializeField] private Attribute FTH; | ||||
| 
 | ||||
|     public static HeroAttributesSO New() | ||||
|     { | ||||
|         return ScriptableObject.CreateInstance<HeroAttributesSO>(); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user