rename HeroAttributes -> HeroAttributesSO
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details

This commit is contained in:
Branden J Brown 2023-07-30 01:35:57 -05:00
parent 8170727c59
commit 3b0fc4481e
2 changed files with 6 additions and 3 deletions

View File

@ -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>();
}
}