Beispiel #1
0
    void Start()
    {
        GlobalItens.Init();
        GlobalCharacter.Init();
        GlobalWorldMap.Init();
        GlobalQuests.Init();
        GlobalMap.Init();
        GlobalInput.Init();

        _itens = new ArrayList();
        _npcs  = new ArrayList();

        AddItemToMap(GlobalItens.generateAlchemy(AlchemyType.HealLife), new Vector3(64, 96, -5));


        GameCharacter test = GlobalCharacter.generetaChar();

        test.name   = "ERRROR";
        test.sprite = 5;

        AddCharacterToMap(test, new Vector3(32, 32, -10));
    }
Beispiel #2
0
 void Start()
 {
     GlobalCharacter.Init();
     GlobalItens.Init();
 }