// About.m
//
// Created by Daniel & Holger on 21.02.12.
// Copyright 2012 Gamua. All rights reserved.
//

#import "About.h"

@interface About

@property (weak)   Guy *daniel;
@property (strong) Guy *holger;

@end

@implementation About

- (id) init
{
    if ((self = [super init]))
    {
        _gamua = [[Gamua alloc] init]; // todo: singleton?
        _gamua.mail     = [NSString stringWithFormat:@"%@\@%@", @"office", self.domain]; // todo: obfuscate!
        _gamua.address  = @"Steinhüblstraße 1";
        _gamua.city     = @"Attnang-Puchheim";
        _gamua.zip      = 4800;
        _gamua.country  = @"Austria"; // cows, no cangaroos!
        _gamua.twitter  = @"\@gamua";

        _daniel = [[Guy alloc] init];
        _daniel.jobs = @[@"Framework Architect", @"Support"];
        _daniel.displayName = @"Daniel Sperl";
        _daniel.twitter     = @"\@PrimaryFeather"; // double '@' looking weird!

        _holger = [Guy guy];
        _holger.jobs = @[@"Flox Architect", @"Webmaster", @"IT"];
        _holger.displayName = @"Holger Weissböck"; // UTF-8 or change name!
        _holger.twitter     = @"\@holgua";

        // todo: add a list of our games!
        // todo: port mail addresses over from as3 version
    }
    return self;
}

- (void)showCredits
{
    NSLog(@"Original bird design by Chris Georgenes");
    NSLog(@"Additional bird imagery by Alexander Landa");
    NSLog(@"Webpage design by %@", holger.name);
    NSLog(@"Webpage powered by Jekyll (%@)", @"jekyllrb.com");
    NSLog(@"Webpage hosted by Webfaction (%@)", @"webfaction.com");
}

@end