Example #1
0
    public static Helm Factory(string hero)
    {
        Helm helm = Helm.Factory();

        GameManager.instance.findHero(hero).heroInventory.AddItem(helm);
        return(helm);
    }
Example #2
0
    public static Helm Factory(int cellID)
    {
        Helm helm = Helm.Factory();

        helm.Cell = Cell.FromId(cellID);
        return(helm);
    }