예제 #1
0
 public void InitializeChar(BaseCharAsset charAsset, List <int> stats)
 {
     bInitializedAssets = true;
     this.stats.AssignStats(stats);
     this.charAsset = charAsset;
 }
예제 #2
0
 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;
 }