add skeleton of hero attributes
This commit is contained in:
		
							
								
								
									
										15
									
								
								Assets/Scripts/HeroAttributes.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								Assets/Scripts/HeroAttributes.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| using System.Collections; | ||||
| using System.Collections.Generic; | ||||
| using UnityEngine; | ||||
| 
 | ||||
| public class HeroAttributes : 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; | ||||
| } | ||||
							
								
								
									
										11
									
								
								Assets/Scripts/HeroAttributes.cs.meta
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								Assets/Scripts/HeroAttributes.cs.meta
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| fileFormatVersion: 2 | ||||
| guid: 538672e6491e46748a1cc27fe3a52455 | ||||
| MonoImporter: | ||||
|   externalObjects: {} | ||||
|   serializedVersion: 2 | ||||
|   defaultReferences: [] | ||||
|   executionOrder: 0 | ||||
|   icon: {instanceID: 0} | ||||
|   userData:  | ||||
|   assetBundleName:  | ||||
|   assetBundleVariant:  | ||||
		Reference in New Issue
	
	Block a user