// Gamua.as
//
// Created by Daniel & Holger on 21.02.12
// Copyright Gamua GmbH. All Rights Reserved.
//

package about
{
    public class Gamua extends Company
    {
        private var staff:Array = [];
        private var contact:Object = {};

        public function Gamua()
        {
            contact.domain  = "gamua.com"; // todo: is this necessary? They're already here!
            contact.mail    = "office" + "@" + contact.domain; // aha! todo: cancel above todo.
            contact.twitter = "gamua";
            contact.address = "Unterstadtgries 59b";
            contact.city    = "Vöcklabruck";
            contact.zip     = 4840;
            contact.country = "Austria"; // cows, no cangaroos!

            var daniel:Guy = new Guy("Daniel Sperl");
            daniel.jobs = ["Framework Architect", "Support"];
            daniel.mail = daniel.firstName + "@" + contact.domain;
            daniel.twitter = "@PrimaryFeather";
            staff.push(daniel); // todo: avoid push!

            // todo: add a list of our games!
        }

        public function showCredits():void
        {
            trace("Original bird design by Chris Georgenes");
            trace("Additional bird imagery by Alexander Landa");
            trace("Webpage powered by Jekyll " + linkTo("jekyllrb.com"));
            trace("Webpage hosted by Uberspace " + linkTo("uberspace.de"))
        }

        public function get daniel():Guy { return contacts.shift(); } // todo: watch for side effects!

        public function toString()
        {
            return "Who would ever call this?";
        }
    }
}