public void InitializeChar(BaseCharAsset charAsset, List <int> stats) { bInitializedAssets = true; this.stats.AssignStats(stats); this.charAsset = charAsset; }
public BaseCharacter(BaseCharAsset charAsset, int scale, Vector2 position, bool bCollision, Vector2 center = default(Vector2)) : base(charAsset.shapeTexture, scale, position, bCollision, center, charAsset.heroName, charAsset.shapeTextureBounds) { bInitializedAssets = true; this.charAsset = charAsset; }