Ejemplo n.º 1
0
    public void Init()
    {
        GenericCharacter genericCharacter = new GenericCharacter();

        genericCharacter.SetIsPlayerControlled(true);
        genericCharacter.SetCharacterName("Abbarath");
        genericCharacter.SetCharacterMana(50);
        genericCharacter.SetSpriteFileName("wizard_1_attack-a_001.png");
        genericCharacter.SetSpriteFilePath("Test_Assets");
        genericCharacter.AddActionIDToUsableActionList(ActionData.ACTION_LIST_ID.HEAL_TARGET);
        genericCharacter.AddActionIDToUsableActionList(ActionData.ACTION_LIST_ID.MULTI_STRIKE);

        SetCharacterStats(genericCharacter);

        GameManager.GetPlayerManager.AddCharacterToList(genericCharacter);
    }
Ejemplo n.º 2
0
    public void Init()
    {
        GenericCharacter genericCharacter = new GenericCharacter();

        genericCharacter.SetIsPlayerControlled(false);
        genericCharacter.SetCharacterName("Enemy_Wolf");
        genericCharacter.SetCharacterMana(40);
        genericCharacter.SetCharacterHealth(500);
        genericCharacter.SetSpriteFileName("wolf.png");
        genericCharacter.SetSpriteFilePath("Test_Assets");
        genericCharacter.AddActionIDToUsableActionList(ActionData.ACTION_LIST_ID.MULTI_STRIKE);
        genericCharacter.AddActionIDToUsableActionList(ActionData.ACTION_LIST_ID.STRIKE);

        SetCharacterStats(genericCharacter);

        //We do not do this with enemies. Add it in combat manager
        //GameManager.GetPlayerManager.AddCharacterToList(genericCharacter);
    }