Commits

a761007  committed 2bb4783

move old file to android, and add tbsg of iphone

  • Participants
  • Parent commits 7ad28c4

Comments (0)

Files changed (32)

File .DS_Store

Binary file added.
-glob:bin/*
+glob:android/bin/*
+glob:iphone/build/*
+

File android/AndroidManifest.xml

+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+      package="demo.tbsg"
+      android:versionCode="1"
+      android:versionName="1.0">
+    <application android:icon="@drawable/icon" android:label="@string/app_name">
+        <activity android:name=".TBSG"
+                  android:label="@string/app_name">
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.LAUNCHER" />
+            </intent-filter>
+        </activity>
+
+    </application>
+
+
+</manifest> 

File android/default.properties

+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+# 
+# This file must be checked in Version Control Systems.
+# 
+# To customize properties used by the Ant build system use,
+# "build.properties", and override values to adapt the script to your
+# project structure.
+
+# Project target.
+target=android-4

File android/gen/demo/tbsg/R.java

+/* AUTO-GENERATED FILE.  DO NOT MODIFY.
+ *
+ * This class was automatically generated by the
+ * aapt tool from the resource data it found.  It
+ * should not be modified by hand.
+ */
+
+package demo.tbsg;
+
+public final class R {
+    public static final class attr {
+    }
+    public static final class drawable {
+        public static final int icon=0x7f020000;
+    }
+    public static final class id {
+        public static final int Button=0x7f050002;
+        public static final int EditTextPlayer1=0x7f050000;
+        public static final int EditTextPlayer2=0x7f050001;
+        public static final int TextViewPlayer1Status=0x7f050003;
+        public static final int TextViewPlayer2Status=0x7f050004;
+        public static final int TextViewResult=0x7f050005;
+    }
+    public static final class layout {
+        public static final int main=0x7f030000;
+    }
+    public static final class string {
+        public static final int app_name=0x7f040001;
+        public static final int end=0x7f040004;
+        public static final int loser=0x7f040006;
+        public static final int player1=0x7f040000;
+        public static final int player2=0x7f040002;
+        public static final int start=0x7f040003;
+        public static final int stop=0x7f040007;
+        public static final int winner=0x7f040005;
+    }
+}

File android/res/drawable-hdpi/icon.png

Added
New image

File android/res/drawable-ldpi/icon.png

Added
New image

File android/res/drawable-mdpi/icon.png

Added
New image

File android/res/layout/main.xml

+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:orientation="vertical"
+    android:layout_width="fill_parent"
+    android:layout_height="fill_parent" android:background="#EEEEEE">
+<TextView  
+    android:layout_width="fill_parent" 
+    android:text="@string/player1" android:layout_gravity="center_horizontal" android:layout_height="20px" android:textColor="#000000" android:background="#ff0050"/>
+
+<EditText android:layout_width="fill_parent" android:id="@+id/EditTextPlayer1" android:hint="請輸入玩家1名稱" android:layout_gravity="center_horizontal" android:layout_height="50px" android:singleLine="true"></EditText>
+<TextView android:layout_width="fill_parent" android:text="@string/player2" android:layout_gravity="center_horizontal" android:layout_height="20px" android:textColor="#000000" android:background="#00ff00"></TextView>
+<EditText android:layout_width="fill_parent" android:id="@+id/EditTextPlayer2" android:hint="請輸入玩家2名稱" android:layout_gravity="center_horizontal" android:layout_height="50px" android:singleLine="true"></EditText>
+
+<Button android:id="@+id/Button" android:text="@string/start" android:layout_width="fill_parent" android:layout_height="50px"></Button><LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content"><TextView android:layout_height="100px" android:layout_width="160px" android:id="@+id/TextViewPlayer1Status" android:textColor="#000000" android:background="#ff8800"></TextView>
+<TextView android:layout_width="160px" android:layout_height="100px" android:id="@+id/TextViewPlayer2Status" android:textColor="#000000" android:background="#00ff88"></TextView>
+</LinearLayout>
+
+
+
+<ScrollView android:layout_height="fill_parent" android:layout_width="fill_parent" android:scrollbarAlwaysDrawVerticalTrack="true" android:scrollbars="vertical" android:background="#0088ff"><TextView android:layout_width="fill_parent" android:id="@+id/TextViewResult" android:scrollbars="vertical" android:scrollHorizontally="true" android:textColor="#000000" android:layout_height="fill_parent" android:isScrollContainer="true" android:scrollbarAlwaysDrawVerticalTrack="true" android:singleLine="false" android:background="#0088ff"></TextView></ScrollView>
+</LinearLayout>

File android/res/values/strings.xml

+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+    <string name="player1">玩家1</string>
+    <string name="app_name">turn-based strategy</string>
+<string name="player2">玩家2</string>
+<string name="start">開始戰鬥</string>
+<string name="end">戰鬥結束</string>
+<string name="winner">勝利者</string>
+<string name="loser">失敗者</string>
+<string name="stop">戰鬥暫停</string>
+</resources>

File android/src/demo/tbsg/Player.java

+package demo.tbsg;
+
+public class Player {
+	private String player;
+	private int hp; //��q
+	private int agi; //�ӱ�
+	private int atk; //����
+	private int def; //���m
+	private int flee; //�{��
+	
+	public Player(String p) {
+		player = p;
+		initialize();
+	}
+	
+	private void initialize() {
+		int tototal = 0;
+		char buffer[] = new char[player.length()];
+		player.getChars(0, player.length()-1, buffer, 0);
+		for (int i :buffer) {
+			tototal += i;
+		}
+		hp = tototal * 99 % 500;
+		agi = tototal * 99 % 100;
+		atk = tototal * 59 % 89;
+		def = tototal * 89 % 79;
+		flee = tototal * 9 % 100;
+	}
+
+	public String getPlayerStatus() {
+		return "���a1�G" + player + "\n" + "�ӱ��G" + agi + "\n" + "��q�G" +
+				hp + "\n" + "�����G" + atk + "\n" + "���m�G" + def +
+				"\n"+ "�{�סG" + flee + "\n";
+	}
+	
+	public String getPlayer() {
+		return player;
+	}
+	
+	public void setHp(int hp) {
+		this.hp = hp;
+	}
+
+	public int getHp() {
+		return hp;
+	}
+
+	public int getAgi() {
+		return agi;
+	}
+
+
+	public int getAtk() {
+		return atk;
+	}
+
+
+	public int getDef() {
+		return def;
+	}
+
+	public int getFlee() {
+		return flee;
+	}
+}

File android/src/demo/tbsg/TBSG.java

+package demo.tbsg;
+
+import java.util.Random;
+import java.util.Timer;
+import java.util.TimerTask;
+
+import android.app.Activity;
+import android.app.AlertDialog;
+import android.os.Bundle;
+import android.os.Handler;
+import android.view.View;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.TextView;
+
+public class TBSG extends Activity {
+    /** Called when the activity is first created. */
+	EditText editTextPlayer1;
+	EditText editTextPlayer2;
+	TextView textViewPlayer1Status;
+	TextView textViewPlayer2Status;
+	Button button;
+    TextView textViewResult;
+	private Boolean state;
+	private Player player1;
+	private Player player2;
+	private int turn;
+	
+    @Override
+    public void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.main);
+        initialize();
+    }
+    
+    private void initialize() {
+    	turn = 0;
+    	editTextPlayer1 = (EditText) findViewById(R.id.EditTextPlayer1);
+    	editTextPlayer2 = (EditText) findViewById(R.id.EditTextPlayer2);
+    	textViewPlayer1Status = 
+    		(TextView) findViewById(R.id.TextViewPlayer1Status);
+    	textViewPlayer2Status = 
+    		(TextView) findViewById(R.id.TextViewPlayer2Status);
+    	textViewResult = (TextView) findViewById(R.id.TextViewResult);
+    	button = (Button) findViewById(R.id.Button);
+    	button.setOnClickListener(new View.OnClickListener() {
+
+			//@Override
+			public void onClick(View v) {
+				// TODO Auto-generated method stub
+				String p1 = editTextPlayer1.getText().toString();
+				String p2 = editTextPlayer2.getText().toString();
+				if (p1.equalsIgnoreCase("") || p2.equalsIgnoreCase("")) {
+					return;
+				}
+				turn++;
+				textViewResult.setText("");
+				player1 = new Player(editTextPlayer1.getText().toString());
+				player2 = new Player(editTextPlayer2.getText().toString());
+				textViewPlayer1Status.setText(player1.getPlayerStatus());
+				textViewPlayer2Status.setText(player2.getPlayerStatus());
+				editTextPlayer1.setEnabled(false);
+				editTextPlayer2.setEnabled(false);
+				if (player1.getAgi() > player2.getAgi()) {
+		    		// p1 first
+		    		state = false;
+		    		
+		    	} else {
+		    		// p2 first
+		    		state = true;
+		    	}					
+				button.setEnabled(false);
+				attack();
+			}
+    		
+    	});
+    }
+    
+    public void attack() {
+    	int loss;
+    	int randNum = new Random().nextInt(101);
+    	String text = textViewResult.getText().toString();
+    	if (state) {
+    		loss = (player2.getAtk() - player1.getDef())>0? 
+    				player2.getAtk() - player1.getDef():1 * randNum / 2;
+    		if (randNum >= player1.getFlee()) {    			
+    			textViewResult.setText(player2.getPlayer() + "攻擊" + 
+    					player1.getPlayer() + "造成傷害" + loss + "\n" + text);
+    			player1.setHp(player1.getHp() - loss);
+    		} else {
+    			textViewResult.setText(player1.getPlayer() + "躲開" + 
+    					player2.getPlayer() + "攻擊並造成其傷害" + loss / 2 + 
+    					"\n" + text);
+    			player2.setHp(player2.getHp() - loss / 2);   			
+    		}
+    	} else {
+    		loss = (player1.getAtk() - player2.getDef())>0? 
+    				player1.getAtk() - player2.getDef():1 * randNum / 2;
+    		if (randNum >= player2.getFlee()) {    			
+    			textViewResult.setText(player1.getPlayer() + "攻擊" + 
+    					player2.getPlayer() + "造成傷害" + loss + "\n" + text);
+    			player2.setHp(player2.getHp() - loss);
+    		} else {
+    			textViewResult.setText(player2.getPlayer() + "躲開" + 
+    					player1.getPlayer() + "攻擊並造成其傷害" + 
+    					loss / 2 + "\n" + text);
+    			player1.setHp(player1.getHp() - loss / 2);
+    		}
+    	}
+    	state = !state;
+    	textViewPlayer1Status.setText(player1.getPlayerStatus());
+		textViewPlayer2Status.setText(player2.getPlayerStatus());
+		if (player1.getHp() <= 0 || player2.getHp() <= 0) {
+			String winner = player1.getHp() <= 0?
+					player2.getPlayer():player1.getPlayer();
+			new AlertDialog.Builder(TBSG.this)
+			.setTitle("訊息")
+			.setPositiveButton("確定", null)
+			.setMessage(getString(R.string.winner) + 
+					winner + "在第"+turn+"回合勝出")
+			.show();
+			button.setText(getString(R.string.start));
+			editTextPlayer1.setEnabled(true);
+			editTextPlayer2.setEnabled(true);
+			button.setEnabled(true);
+			turn = 0;
+			return;
+		}
+		final Handler handler = new Handler(); 
+        Timer t = new Timer(); 
+        t.schedule(new TimerTask() { 
+                public void run() { 
+                        handler.post(new Runnable() { 
+                                public void run() { 
+                                	attack();
+                            		turn++; 
+                            		button.setText("第" + turn + "回合");
+                                } 
+                        }); 
+                } 
+        }, 200); 
+    }
+}

File iphone/.DS_Store

Binary file added.

File iphone/Classes/RPG_Part1AppDelegate.h

+//
+//  RPG_Part1AppDelegate.h
+//  RPG Part1
+//
+//  Created by Takuro on 2010/10/21.
+//  Copyright Mobagel 2010. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@class RPG_Part1ViewController;
+
+@interface RPG_Part1AppDelegate : NSObject <UIApplicationDelegate> {
+    UIWindow *window;
+    RPG_Part1ViewController *viewController;
+}
+
+@property (nonatomic, retain) IBOutlet UIWindow *window;
+@property (nonatomic, retain) IBOutlet RPG_Part1ViewController *viewController;
+
+@end
+

File iphone/Classes/RPG_Part1AppDelegate.m

+//
+//  RPG_Part1AppDelegate.m
+//  RPG Part1
+//
+//  Created by Takuro on 2010/10/21.
+//  Copyright Mobagel 2010. All rights reserved.
+//
+
+#import "RPG_Part1AppDelegate.h"
+#import "RPG_Part1ViewController.h"
+
+@implementation RPG_Part1AppDelegate
+
+@synthesize window;
+@synthesize viewController;
+
+
+#pragma mark -
+#pragma mark Application lifecycle
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    
+    
+    // Override point for customization after application launch.
+
+    // Add the view controller's view to the window and display.
+    [window addSubview:viewController.view];
+    [window makeKeyAndVisible];
+
+    return YES;
+}
+
+
+- (void)applicationWillResignActive:(UIApplication *)application {
+    /*
+     Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
+     Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
+     */
+}
+
+
+- (void)applicationDidEnterBackground:(UIApplication *)application {
+    /*
+     Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 
+     If your application supports background execution, called instead of applicationWillTerminate: when the user quits.
+     */
+}
+
+
+- (void)applicationWillEnterForeground:(UIApplication *)application {
+    /*
+     Called as part of  transition from the background to the inactive state: here you can undo many of the changes made on entering the background.
+     */
+}
+
+
+- (void)applicationDidBecomeActive:(UIApplication *)application {
+    /*
+     Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
+     */
+}
+
+
+- (void)applicationWillTerminate:(UIApplication *)application {
+    /*
+     Called when the application is about to terminate.
+     See also applicationDidEnterBackground:.
+     */
+}
+
+
+#pragma mark -
+#pragma mark Memory management
+
+- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application {
+    /*
+     Free up as much memory as possible by purging cached data objects that can be recreated (or reloaded from disk) later.
+     */
+}
+
+
+- (void)dealloc {
+    [viewController release];
+    [window release];
+    [super dealloc];
+}
+
+
+@end

File iphone/Classes/RPG_Part1ViewController.h

+//
+//  RPG_Part1ViewController.h
+//  RPG Part1
+//
+//  Created by Takuro on 2010/10/21.
+//  Copyright Mobagel 2010. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+#import "character.h"
+
+@interface RPG_Part1ViewController : UIViewController {
+    IBOutlet UIButton *StartButton;
+    IBOutlet UITextField *player1Name;
+    IBOutlet UITextField *player2Name;
+    IBOutlet UILabel *result;
+    
+    character *role1;
+    character *role2;
+}
+
+@property (nonatomic ,retain) UIButton *StartButton;
+@property (nonatomic ,retain) UITextField *player1Name;
+@property (nonatomic ,retain) UITextField *player2Name;
+@property (nonatomic ,retain) UILabel *result;
+
+- (IBAction)StartButtonAction:(id)sender;
+- (IBAction)DoneEdit:(id)sender;
+
+@end
+

File iphone/Classes/RPG_Part1ViewController.m

+//
+//  RPG_Part1ViewController.m
+//  RPG Part1
+//
+//  Created by Takuro on 2010/10/21.
+//  Copyright Mobagel 2010. All rights reserved.
+//
+
+#import "RPG_Part1ViewController.h"
+
+@implementation RPG_Part1ViewController
+
+@synthesize StartButton;
+@synthesize player1Name;
+@synthesize player2Name;
+@synthesize result;
+
+- (IBAction)StartButtonAction:(id)sender
+{
+    UIButton *NowAction = (UIButton *)sender;
+    if([NowAction.titleLabel.text isEqualToString:@"Start"])
+    {
+        [NowAction setTitle:@"Next" forState:UIControlStateNormal];
+        [role1 initCharacter:player1Name.text];
+        [role2 initCharacter:player2Name.text];
+        player1Name.enabled = NO;
+        player2Name.enabled = NO;
+    }
+    else if([NowAction.titleLabel.text isEqualToString:@"Next"])
+    {
+        character *first;
+        character *second;
+        if([role1.agi_Text.text intValue] >= [role2.agi_Text.text intValue])
+        {
+            first = role1;
+            second = role2;
+        }
+        else
+        {
+            first = role2;
+            second = role1;
+        }
+        int judge;
+        judge = [second updateHp:[first.atk_Text.text intValue]];
+        if(judge)
+        {
+            result.text = [NSString stringWithFormat:@"%@ is Winner",[first getCharacterName]];
+            [NowAction setTitle:@"ReStart" forState:UIControlStateNormal];
+        }
+        else
+        {
+            judge = [first updateHp:[second.atk_Text.text intValue]];
+            if(judge)
+            {
+                result.text = [NSString stringWithFormat:@"%@ is Winner",[second getCharacterName]];
+                [NowAction setTitle:@"ReStart" forState:UIControlStateNormal];
+            }
+        }
+        
+    }
+    else
+    {
+        [NowAction setTitle:@"Start" forState:UIControlStateNormal];
+        [role1 resetCharacter];
+        [role2 resetCharacter];
+        result.text = nil;
+        player1Name.enabled = YES;
+        player2Name.enabled = YES;
+    }
+}
+
+- (IBAction)DoneEdit:(id)sender
+{
+    [player1Name resignFirstResponder];
+    [player2Name resignFirstResponder];
+}
+
+/*
+// The designated initializer. Override to perform setup that is required before the view is loaded.
+- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
+    if ((self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil])) {
+        // Custom initialization
+    }
+    return self;
+}
+*/
+
+/*
+// Implement loadView to create a view hierarchy programmatically, without using a nib.
+- (void)loadView {
+}
+*/
+
+
+
+// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
+- (void)viewDidLoad {
+    [super viewDidLoad];
+    
+    //創造第一個角色物件
+    role1 = [[character alloc] initWithNibName:@"character" bundle:nil];
+    //取得第一個物件的框架內容並進行設定
+    CGRect rect = role1.view.frame;
+    rect.origin.y = 60;
+    role1.view.frame = rect;
+    //將物件view加到目前view上
+    [self.view addSubview:role1.view];
+    
+    //創造第二個角色物件
+    role2 = [[character alloc] initWithNibName:@"character" bundle:nil];
+    //取得第一個物件的框架內容並進行設定
+    rect = role2.view.frame;
+    rect.origin.y = 60;
+    rect.origin.x = 170;
+    role2.view.frame = rect;
+    //將物件view加到目前view上
+    [self.view addSubview:role2.view];
+    
+}
+
+
+
+/*
+// Override to allow orientations other than the default portrait orientation.
+- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
+    // Return YES for supported orientations
+    return (interfaceOrientation == UIInterfaceOrientationPortrait);
+}
+*/
+
+- (void)didReceiveMemoryWarning {
+	// Releases the view if it doesn't have a superview.
+    [super didReceiveMemoryWarning];
+	
+	// Release any cached data, images, etc that aren't in use.
+}
+
+- (void)viewDidUnload {
+	// Release any retained subviews of the main view.
+	// e.g. self.myOutlet = nil;
+}
+
+
+- (void)dealloc {
+    [super dealloc];
+}
+
+@end

File iphone/Classes/character.h

+//
+//  character.h
+//  RPG Part1
+//
+//  Created by Takuro on 2010/10/22.
+//  Copyright 2010 Mobagel. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+
+@interface character : UIViewController {
+    IBOutlet UIImageView *characterImage;
+    IBOutlet UILabel *hp_Text;
+    IBOutlet UILabel *atk_Text;
+    IBOutlet UILabel *def_Text;
+    IBOutlet UILabel *agi_Text;
+    IBOutlet UILabel *flee_Text;
+    IBOutlet UILabel *state_Text;
+    NSString *characterName;
+    
+    int hp;
+    int atk;
+    int def;
+    int agi;
+    int flee;
+    int imageNum;
+}
+
+@property (nonatomic ,retain) IBOutlet UIImageView *characterImage;
+@property (nonatomic ,retain) IBOutlet UILabel *hp_Text;
+@property (nonatomic ,retain) IBOutlet UILabel *atk_Text;
+@property (nonatomic ,retain) IBOutlet UILabel *def_Text;
+@property (nonatomic ,retain) IBOutlet UILabel *agi_Text;
+@property (nonatomic ,retain) IBOutlet UILabel *flee_Text;
+@property (nonatomic ,retain) IBOutlet UILabel *state_Text;
+
+- (void)initCharacter:(NSString *)name;
+- (void)updateAttribute;
+- (int)updateHp:(int)Atk;
+- (NSString *)getCharacterName;
+- (void)resetCharacter;
+
+@end

File iphone/Classes/character.m

+//
+//  character.m
+//  RPG Part1
+//
+//  Created by Takuro on 2010/10/22.
+//  Copyright 2010 Mobagel. All rights reserved.
+//
+
+#import "character.h"
+
+
+@implementation character
+
+@synthesize characterImage;
+@synthesize hp_Text;
+@synthesize atk_Text;
+@synthesize def_Text;
+@synthesize agi_Text;
+@synthesize flee_Text;
+@synthesize state_Text;
+
+- (void)initCharacter:(NSString *)name
+{    
+    const char *str = [name cStringUsingEncoding:NSASCIIStringEncoding];
+    
+    characterName = name;
+    
+    int count = 0;
+    for(int i = 0 ; i < strlen(str) ; i++)
+    {
+        count = count + (int)str[i];
+    }
+    hp = count % 300 + 1;
+    atk = count % 50 + 70;
+    def = count % 90 + 1;
+    agi = count % 100 + 1;
+    flee = count % 99 + 1;
+    imageNum = count % 2;
+    [self updateAttribute];
+}
+
+- (int)updateHp:(int)Atk
+{
+    if((arc4random()%100+1) <= flee)
+    {
+        state_Text.text = [NSString stringWithFormat:@"靈敏的閃避掉攻擊"];
+    }
+    else
+    {
+        int Dam = Atk - def;
+    
+        if(Dam <= 0)
+            Dam = 1;
+    
+        hp = hp - Dam;
+    
+        state_Text.text = [NSString stringWithFormat:@"受到%d點傷害",Dam];
+    }
+    
+    if(hp > 0)
+    {
+        hp_Text.text = [NSString stringWithFormat:@"%d",hp];
+        return 0;
+    }
+    
+    hp_Text.text = [NSString stringWithFormat:@"0"];
+    return 1;
+    
+}
+
+- (void)updateAttribute
+{
+    atk_Text.text = [NSString stringWithFormat:@"%d",atk];
+    def_Text.text = [NSString stringWithFormat:@"%d",def];
+    agi_Text.text = [NSString stringWithFormat:@"%d",agi];
+    flee_Text.text = [NSString stringWithFormat:@"%d",flee];
+    hp_Text.text = [NSString stringWithFormat:@"%d",hp];
+    if(imageNum)
+    {
+        characterImage.image = [UIImage imageNamed:@"wii_baby.jpg"];
+    }
+    else
+    {
+        characterImage.image = [UIImage imageNamed:@"wii_apple.jpg"];
+    }
+}
+
+- (NSString *)getCharacterName
+{
+    return characterName;
+}
+
+- (void)resetCharacter
+{
+    atk_Text.text = nil;
+    def_Text.text = nil;
+    agi_Text.text = nil;
+    flee_Text.text = nil;
+    hp_Text.text = nil;
+    state_Text.text = nil;
+    characterImage.image = nil;
+}
+
+/*
+ // The designated initializer.  Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
+- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
+    if ((self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil])) {
+        // Custom initialization
+    }
+    return self;
+}
+*/
+
+
+// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
+- (void)viewDidLoad {
+    [super viewDidLoad];
+    
+}
+
+
+/*
+// Override to allow orientations other than the default portrait orientation.
+- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
+    // Return YES for supported orientations
+    return (interfaceOrientation == UIInterfaceOrientationPortrait);
+}
+*/
+
+- (void)didReceiveMemoryWarning {
+    // Releases the view if it doesn't have a superview.
+    [super didReceiveMemoryWarning];
+    
+    // Release any cached data, images, etc that aren't in use.
+}
+
+- (void)viewDidUnload {
+    [super viewDidUnload];
+    // Release any retained subviews of the main view.
+    // e.g. self.myOutlet = nil;
+}
+
+
+- (void)dealloc {
+    [super dealloc];
+}
+
+
+@end

File iphone/Classes/character.xib

+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
+	<data>
+		<int key="IBDocument.SystemTarget">1024</int>
+		<string key="IBDocument.SystemVersion">10F569</string>
+		<string key="IBDocument.InterfaceBuilderVersion">788</string>
+		<string key="IBDocument.AppKitVersion">1038.29</string>
+		<string key="IBDocument.HIToolboxVersion">461.00</string>
+		<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+			<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+			<string key="NS.object.0">117</string>
+		</object>
+		<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
+			<bool key="EncodedWithXMLCoder">YES</bool>
+			<integer value="5"/>
+		</object>
+		<object class="NSArray" key="IBDocument.PluginDependencies">
+			<bool key="EncodedWithXMLCoder">YES</bool>
+			<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+		</object>
+		<object class="NSMutableDictionary" key="IBDocument.Metadata">
+			<bool key="EncodedWithXMLCoder">YES</bool>
+			<object class="NSArray" key="dict.sortedKeys" id="0">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+			</object>
+			<object class="NSMutableArray" key="dict.values">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+			</object>
+		</object>
+		<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+			<bool key="EncodedWithXMLCoder">YES</bool>
+			<object class="IBProxyObject" id="372490531">
+				<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+			</object>
+			<object class="IBProxyObject" id="975951072">
+				<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+			</object>
+			<object class="IBUIView" id="1041753475">
+				<reference key="NSNextResponder"/>
+				<int key="NSvFlags">292</int>
+				<object class="NSMutableArray" key="NSSubviews">
+					<bool key="EncodedWithXMLCoder">YES</bool>
+					<object class="IBUIImageView" id="868582471">
+						<reference key="NSNextResponder" ref="1041753475"/>
+						<int key="NSvFlags">274</int>
+						<string key="NSFrame">{{20, 150}, {100, 100}}</string>
+						<reference key="NSSuperview" ref="1041753475"/>
+						<int key="IBUIContentMode">1</int>
+						<bool key="IBUIUserInteractionEnabled">NO</bool>
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+					</object>
+					<object class="IBUILabel" id="789340937">
+						<reference key="NSNextResponder" ref="1041753475"/>
+						<int key="NSvFlags">292</int>
+						<string key="NSFrame">{{5, 7}, {42, 21}}</string>
+						<reference key="NSSuperview" ref="1041753475"/>
+						<bool key="IBUIOpaque">NO</bool>
+						<bool key="IBUIClipsSubviews">YES</bool>
+						<int key="IBUIContentMode">7</int>
+						<bool key="IBUIUserInteractionEnabled">NO</bool>
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+						<string key="IBUIText">HP:</string>
+						<object class="NSColor" key="IBUITextColor" id="480711339">
+							<int key="NSColorSpace">1</int>
+							<bytes key="NSRGB">MCAwIDEAA</bytes>
+						</object>
+						<nil key="IBUIHighlightedColor"/>
+						<int key="IBUIBaselineAdjustment">1</int>
+						<float key="IBUIMinimumFontSize">10</float>
+					</object>
+					<object class="IBUILabel" id="760002479">
+						<reference key="NSNextResponder" ref="1041753475"/>
+						<int key="NSvFlags">292</int>
+						<string key="NSFrame">{{5, 36}, {42, 21}}</string>
+						<reference key="NSSuperview" ref="1041753475"/>
+						<bool key="IBUIOpaque">NO</bool>
+						<bool key="IBUIClipsSubviews">YES</bool>
+						<int key="IBUIContentMode">7</int>
+						<bool key="IBUIUserInteractionEnabled">NO</bool>
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+						<string key="IBUIText">ATK:</string>
+						<reference key="IBUITextColor" ref="480711339"/>
+						<nil key="IBUIHighlightedColor"/>
+						<int key="IBUIBaselineAdjustment">1</int>
+						<float key="IBUIMinimumFontSize">10</float>
+					</object>
+					<object class="IBUILabel" id="819129137">
+						<reference key="NSNextResponder" ref="1041753475"/>
+						<int key="NSvFlags">292</int>
+						<string key="NSFrame">{{5, 65}, {42, 21}}</string>
+						<reference key="NSSuperview" ref="1041753475"/>
+						<bool key="IBUIOpaque">NO</bool>
+						<bool key="IBUIClipsSubviews">YES</bool>
+						<int key="IBUIContentMode">7</int>
+						<bool key="IBUIUserInteractionEnabled">NO</bool>
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+						<string key="IBUIText">DEF:</string>
+						<reference key="IBUITextColor" ref="480711339"/>
+						<nil key="IBUIHighlightedColor"/>
+						<int key="IBUIBaselineAdjustment">1</int>
+						<float key="IBUIMinimumFontSize">10</float>
+					</object>
+					<object class="IBUILabel" id="876895117">
+						<reference key="NSNextResponder" ref="1041753475"/>
+						<int key="NSvFlags">292</int>
+						<string key="NSFrame">{{5, 94}, {42, 21}}</string>
+						<reference key="NSSuperview" ref="1041753475"/>
+						<bool key="IBUIOpaque">NO</bool>
+						<bool key="IBUIClipsSubviews">YES</bool>
+						<int key="IBUIContentMode">7</int>
+						<bool key="IBUIUserInteractionEnabled">NO</bool>
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+						<string key="IBUIText">AGI:</string>
+						<reference key="IBUITextColor" ref="480711339"/>
+						<nil key="IBUIHighlightedColor"/>
+						<int key="IBUIBaselineAdjustment">1</int>
+						<float key="IBUIMinimumFontSize">10</float>
+					</object>
+					<object class="IBUILabel" id="834899071">
+						<reference key="NSNextResponder" ref="1041753475"/>
+						<int key="NSvFlags">292</int>
+						<string key="NSFrame">{{5, 123}, {48, 21}}</string>
+						<reference key="NSSuperview" ref="1041753475"/>
+						<bool key="IBUIOpaque">NO</bool>
+						<bool key="IBUIClipsSubviews">YES</bool>
+						<int key="IBUIContentMode">7</int>
+						<bool key="IBUIUserInteractionEnabled">NO</bool>
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+						<string key="IBUIText">FLEE:</string>
+						<reference key="IBUITextColor" ref="480711339"/>
+						<nil key="IBUIHighlightedColor"/>
+						<int key="IBUIBaselineAdjustment">1</int>
+						<float key="IBUIMinimumFontSize">10</float>
+					</object>
+					<object class="IBUILabel" id="19594082">
+						<reference key="NSNextResponder" ref="1041753475"/>
+						<int key="NSvFlags">292</int>
+						<string key="NSFrame">{{55, 7}, {75, 21}}</string>
+						<reference key="NSSuperview" ref="1041753475"/>
+						<bool key="IBUIOpaque">NO</bool>
+						<bool key="IBUIClipsSubviews">YES</bool>
+						<int key="IBUIContentMode">7</int>
+						<bool key="IBUIUserInteractionEnabled">NO</bool>
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+						<string key="IBUIText"/>
+						<object class="NSColor" key="IBUITextColor" id="260099384">
+							<int key="NSColorSpace">1</int>
+							<bytes key="NSRGB">MCAwIDAAA</bytes>
+						</object>
+						<nil key="IBUIHighlightedColor"/>
+						<int key="IBUIBaselineAdjustment">1</int>
+						<float key="IBUIMinimumFontSize">10</float>
+					</object>
+					<object class="IBUILabel" id="218165736">
+						<reference key="NSNextResponder" ref="1041753475"/>
+						<int key="NSvFlags">292</int>
+						<string key="NSFrame">{{55, 36}, {75, 21}}</string>
+						<reference key="NSSuperview" ref="1041753475"/>
+						<bool key="IBUIOpaque">NO</bool>
+						<bool key="IBUIClipsSubviews">YES</bool>
+						<int key="IBUIContentMode">7</int>
+						<bool key="IBUIUserInteractionEnabled">NO</bool>
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+						<string key="IBUIText"/>
+						<reference key="IBUITextColor" ref="260099384"/>
+						<nil key="IBUIHighlightedColor"/>
+						<int key="IBUIBaselineAdjustment">1</int>
+						<float key="IBUIMinimumFontSize">10</float>
+					</object>
+					<object class="IBUILabel" id="551034560">
+						<reference key="NSNextResponder" ref="1041753475"/>
+						<int key="NSvFlags">292</int>
+						<string key="NSFrame">{{55, 65}, {75, 21}}</string>
+						<reference key="NSSuperview" ref="1041753475"/>
+						<bool key="IBUIOpaque">NO</bool>
+						<bool key="IBUIClipsSubviews">YES</bool>
+						<int key="IBUIContentMode">7</int>
+						<bool key="IBUIUserInteractionEnabled">NO</bool>
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+						<string key="IBUIText"/>
+						<reference key="IBUITextColor" ref="260099384"/>
+						<nil key="IBUIHighlightedColor"/>
+						<int key="IBUIBaselineAdjustment">1</int>
+						<float key="IBUIMinimumFontSize">10</float>
+					</object>
+					<object class="IBUILabel" id="1042079589">
+						<reference key="NSNextResponder" ref="1041753475"/>
+						<int key="NSvFlags">292</int>
+						<string key="NSFrame">{{55, 94}, {75, 21}}</string>
+						<reference key="NSSuperview" ref="1041753475"/>
+						<bool key="IBUIOpaque">NO</bool>
+						<bool key="IBUIClipsSubviews">YES</bool>
+						<int key="IBUIContentMode">7</int>
+						<bool key="IBUIUserInteractionEnabled">NO</bool>
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+						<string key="IBUIText"/>
+						<reference key="IBUITextColor" ref="260099384"/>
+						<nil key="IBUIHighlightedColor"/>
+						<int key="IBUIBaselineAdjustment">1</int>
+						<float key="IBUIMinimumFontSize">10</float>
+					</object>
+					<object class="IBUILabel" id="368435011">
+						<reference key="NSNextResponder" ref="1041753475"/>
+						<int key="NSvFlags">292</int>
+						<string key="NSFrame">{{55, 123}, {75, 21}}</string>
+						<reference key="NSSuperview" ref="1041753475"/>
+						<bool key="IBUIOpaque">NO</bool>
+						<bool key="IBUIClipsSubviews">YES</bool>
+						<int key="IBUIContentMode">7</int>
+						<bool key="IBUIUserInteractionEnabled">NO</bool>
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+						<string key="IBUIText"/>
+						<reference key="IBUITextColor" ref="260099384"/>
+						<nil key="IBUIHighlightedColor"/>
+						<int key="IBUIBaselineAdjustment">1</int>
+						<float key="IBUIMinimumFontSize">10</float>
+					</object>
+					<object class="IBUILabel" id="279124756">
+						<reference key="NSNextResponder" ref="1041753475"/>
+						<int key="NSvFlags">292</int>
+						<string key="NSFrame">{{5, 259}, {145, 21}}</string>
+						<reference key="NSSuperview" ref="1041753475"/>
+						<bool key="IBUIOpaque">NO</bool>
+						<bool key="IBUIClipsSubviews">YES</bool>
+						<int key="IBUIContentMode">7</int>
+						<bool key="IBUIUserInteractionEnabled">NO</bool>
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+						<string key="IBUIText"/>
+						<object class="NSColor" key="IBUITextColor">
+							<int key="NSColorSpace">1</int>
+							<bytes key="NSRGB">MSAwIDAAA</bytes>
+						</object>
+						<nil key="IBUIHighlightedColor"/>
+						<int key="IBUIBaselineAdjustment">1</int>
+						<float key="IBUIMinimumFontSize">10</float>
+					</object>
+				</object>
+				<string key="NSFrameSize">{150, 300}</string>
+				<reference key="NSSuperview"/>
+				<object class="NSColor" key="IBUIBackgroundColor">
+					<int key="NSColorSpace">3</int>
+					<bytes key="NSWhite">MQA</bytes>
+					<object class="NSColorSpace" key="NSCustomColorSpace">
+						<int key="NSID">2</int>
+					</object>
+				</object>
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+			</object>
+		</object>
+		<object class="IBObjectContainer" key="IBDocument.Objects">
+			<object class="NSMutableArray" key="connectionRecords">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+				<object class="IBConnectionRecord">
+					<object class="IBCocoaTouchOutletConnection" key="connection">
+						<string key="label">view</string>
+						<reference key="source" ref="372490531"/>
+						<reference key="destination" ref="1041753475"/>
+					</object>
+					<int key="connectionID">6</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBCocoaTouchOutletConnection" key="connection">
+						<string key="label">agi_Text</string>
+						<reference key="source" ref="372490531"/>
+						<reference key="destination" ref="1042079589"/>
+					</object>
+					<int key="connectionID">18</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBCocoaTouchOutletConnection" key="connection">
+						<string key="label">atk_Text</string>
+						<reference key="source" ref="372490531"/>
+						<reference key="destination" ref="218165736"/>
+					</object>
+					<int key="connectionID">19</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBCocoaTouchOutletConnection" key="connection">
+						<string key="label">characterImage</string>
+						<reference key="source" ref="372490531"/>
+						<reference key="destination" ref="868582471"/>
+					</object>
+					<int key="connectionID">20</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBCocoaTouchOutletConnection" key="connection">
+						<string key="label">def_Text</string>
+						<reference key="source" ref="372490531"/>
+						<reference key="destination" ref="551034560"/>
+					</object>
+					<int key="connectionID">21</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBCocoaTouchOutletConnection" key="connection">
+						<string key="label">flee_Text</string>
+						<reference key="source" ref="372490531"/>
+						<reference key="destination" ref="368435011"/>
+					</object>
+					<int key="connectionID">22</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBCocoaTouchOutletConnection" key="connection">
+						<string key="label">hp_Text</string>
+						<reference key="source" ref="372490531"/>
+						<reference key="destination" ref="19594082"/>
+					</object>
+					<int key="connectionID">23</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBCocoaTouchOutletConnection" key="connection">
+						<string key="label">state_Text</string>
+						<reference key="source" ref="372490531"/>
+						<reference key="destination" ref="279124756"/>
+					</object>
+					<int key="connectionID">25</int>
+				</object>
+			</object>
+			<object class="IBMutableOrderedSet" key="objectRecords">
+				<object class="NSArray" key="orderedObjects">
+					<bool key="EncodedWithXMLCoder">YES</bool>
+					<object class="IBObjectRecord">
+						<int key="objectID">0</int>
+						<reference key="object" ref="0"/>
+						<reference key="children" ref="1000"/>
+						<nil key="parent"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">-1</int>
+						<reference key="object" ref="372490531"/>
+						<reference key="parent" ref="0"/>
+						<string key="objectName">File's Owner</string>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">-2</int>
+						<reference key="object" ref="975951072"/>
+						<reference key="parent" ref="0"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">5</int>
+						<reference key="object" ref="1041753475"/>
+						<object class="NSMutableArray" key="children">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<reference ref="789340937"/>
+							<reference ref="760002479"/>
+							<reference ref="819129137"/>
+							<reference ref="876895117"/>
+							<reference ref="834899071"/>
+							<reference ref="19594082"/>
+							<reference ref="218165736"/>
+							<reference ref="551034560"/>
+							<reference ref="1042079589"/>
+							<reference ref="368435011"/>
+							<reference ref="868582471"/>
+							<reference ref="279124756"/>
+						</object>
+						<reference key="parent" ref="0"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">7</int>
+						<reference key="object" ref="868582471"/>
+						<reference key="parent" ref="1041753475"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">8</int>
+						<reference key="object" ref="789340937"/>
+						<reference key="parent" ref="1041753475"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">9</int>
+						<reference key="object" ref="760002479"/>
+						<reference key="parent" ref="1041753475"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">10</int>
+						<reference key="object" ref="819129137"/>
+						<reference key="parent" ref="1041753475"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">11</int>
+						<reference key="object" ref="876895117"/>
+						<reference key="parent" ref="1041753475"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">12</int>
+						<reference key="object" ref="834899071"/>
+						<reference key="parent" ref="1041753475"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">13</int>
+						<reference key="object" ref="19594082"/>
+						<reference key="parent" ref="1041753475"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">14</int>
+						<reference key="object" ref="218165736"/>
+						<reference key="parent" ref="1041753475"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">15</int>
+						<reference key="object" ref="551034560"/>
+						<reference key="parent" ref="1041753475"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">16</int>
+						<reference key="object" ref="1042079589"/>
+						<reference key="parent" ref="1041753475"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">17</int>
+						<reference key="object" ref="368435011"/>
+						<reference key="parent" ref="1041753475"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">24</int>
+						<reference key="object" ref="279124756"/>
+						<reference key="parent" ref="1041753475"/>
+					</object>
+				</object>
+			</object>
+			<object class="NSMutableDictionary" key="flattenedProperties">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+				<object class="NSArray" key="dict.sortedKeys">
+					<bool key="EncodedWithXMLCoder">YES</bool>
+					<string>-1.CustomClassName</string>
+					<string>-2.CustomClassName</string>
+					<string>10.IBPluginDependency</string>
+					<string>11.IBPluginDependency</string>
+					<string>12.IBPluginDependency</string>
+					<string>13.IBPluginDependency</string>
+					<string>14.IBPluginDependency</string>
+					<string>15.IBPluginDependency</string>
+					<string>16.IBPluginDependency</string>
+					<string>17.IBPluginDependency</string>
+					<string>24.IBPluginDependency</string>
+					<string>5.IBEditorWindowLastContentRect</string>
+					<string>5.IBPluginDependency</string>
+					<string>7.IBPluginDependency</string>
+					<string>8.IBPluginDependency</string>
+					<string>9.IBPluginDependency</string>
+				</object>
+				<object class="NSMutableArray" key="dict.values">
+					<bool key="EncodedWithXMLCoder">YES</bool>
+					<string>character</string>
+					<string>UIResponder</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+					<string>{{335, 385}, {150, 300}}</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+				</object>
+			</object>
+			<object class="NSMutableDictionary" key="unlocalizedProperties">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+				<reference key="dict.sortedKeys" ref="0"/>
+				<object class="NSMutableArray" key="dict.values">
+					<bool key="EncodedWithXMLCoder">YES</bool>
+				</object>
+			</object>
+			<nil key="activeLocalization"/>
+			<object class="NSMutableDictionary" key="localizations">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+				<reference key="dict.sortedKeys" ref="0"/>
+				<object class="NSMutableArray" key="dict.values">
+					<bool key="EncodedWithXMLCoder">YES</bool>
+				</object>
+			</object>
+			<nil key="sourceID"/>
+			<int key="maxID">25</int>
+		</object>
+		<object class="IBClassDescriber" key="IBDocument.Classes">
+			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+				<object class="IBPartialClassDescription">
+					<string key="className">character</string>
+					<string key="superclassName">UIViewController</string>
+					<object class="NSMutableDictionary" key="outlets">
+						<bool key="EncodedWithXMLCoder">YES</bool>
+						<object class="NSArray" key="dict.sortedKeys">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<string>agi_Text</string>
+							<string>atk_Text</string>
+							<string>characterImage</string>
+							<string>def_Text</string>
+							<string>flee_Text</string>
+							<string>hp_Text</string>
+							<string>state_Text</string>
+						</object>
+						<object class="NSMutableArray" key="dict.values">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<string>UILabel</string>
+							<string>UILabel</string>
+							<string>UIImageView</string>
+							<string>UILabel</string>
+							<string>UILabel</string>
+							<string>UILabel</string>
+							<string>UILabel</string>
+						</object>
+					</object>
+					<object class="NSMutableDictionary" key="toOneOutletInfosByName">
+						<bool key="EncodedWithXMLCoder">YES</bool>
+						<object class="NSArray" key="dict.sortedKeys">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<string>agi_Text</string>
+							<string>atk_Text</string>
+							<string>characterImage</string>
+							<string>def_Text</string>
+							<string>flee_Text</string>
+							<string>hp_Text</string>
+							<string>state_Text</string>
+						</object>
+						<object class="NSMutableArray" key="dict.values">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<object class="IBToOneOutletInfo">
+								<string key="name">agi_Text</string>
+								<string key="candidateClassName">UILabel</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">atk_Text</string>
+								<string key="candidateClassName">UILabel</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">characterImage</string>
+								<string key="candidateClassName">UIImageView</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">def_Text</string>
+								<string key="candidateClassName">UILabel</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">flee_Text</string>
+								<string key="candidateClassName">UILabel</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">hp_Text</string>
+								<string key="candidateClassName">UILabel</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">state_Text</string>
+								<string key="candidateClassName">UILabel</string>
+							</object>
+						</object>
+					</object>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">Classes/character.h</string>
+					</object>
+				</object>
+			</object>
+			<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSError.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSURL.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="458344072">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UIResponder.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UIImageView</string>
+					<string key="superclassName">UIView</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UIImageView.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UILabel</string>
+					<string key="superclassName">UIView</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UILabel.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UIResponder</string>
+					<string key="superclassName">NSObject</string>
+					<reference key="sourceIdentifier" ref="458344072"/>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UISearchBar</string>
+					<string key="superclassName">UIView</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UISearchBar.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UISearchDisplayController</string>
+					<string key="superclassName">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UISearchDisplayController.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UIView</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UITextField.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UIView</string>
+					<string key="superclassName">UIResponder</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UIView.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UIViewController</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UINavigationController.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UIViewController</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UIPopoverController.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UIViewController</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UIViewController</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UITabBarController.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UIViewController</string>
+					<string key="superclassName">UIResponder</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UIViewController.h</string>
+					</object>
+				</object>
+			</object>
+		</object>
+		<int key="IBDocument.localizationMode">0</int>
+		<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
+		<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
+			<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
+			<integer value="1024" key="NS.object.0"/>
+		</object>
+		<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
+			<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
+			<integer value="3000" key="NS.object.0"/>
+		</object>
+		<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+		<string key="IBDocument.LastKnownRelativeProjectPath">../RPG Part1.xcodeproj</string>
+		<int key="IBDocument.defaultPropertyAccessControl">3</int>
+		<string key="IBCocoaTouchPluginVersion">117</string>
+	</data>
+</archive>

File iphone/MainWindow.xib

+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
+	<data>
+		<int key="IBDocument.SystemTarget">1024</int>
+		<string key="IBDocument.SystemVersion">10D571</string>
+		<string key="IBDocument.InterfaceBuilderVersion">786</string>
+		<string key="IBDocument.AppKitVersion">1038.29</string>
+		<string key="IBDocument.HIToolboxVersion">460.00</string>
+		<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+			<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+			<string key="NS.object.0">112</string>
+		</object>
+		<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
+			<bool key="EncodedWithXMLCoder">YES</bool>
+			<integer value="10"/>
+		</object>
+		<object class="NSArray" key="IBDocument.PluginDependencies">
+			<bool key="EncodedWithXMLCoder">YES</bool>
+			<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+		</object>
+		<object class="NSMutableDictionary" key="IBDocument.Metadata">
+			<bool key="EncodedWithXMLCoder">YES</bool>
+			<object class="NSArray" key="dict.sortedKeys" id="0">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+			</object>
+			<object class="NSMutableArray" key="dict.values">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+			</object>
+		</object>
+		<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+			<bool key="EncodedWithXMLCoder">YES</bool>
+			<object class="IBProxyObject" id="841351856">
+				<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+			</object>
+			<object class="IBProxyObject" id="427554174">
+				<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+			</object>
+			<object class="IBUICustomObject" id="664661524">
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+			</object>
+			<object class="IBUIViewController" id="943309135">
+				<string key="IBUINibName">RPG_Part1ViewController</string>
+				<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+				<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
+					<int key="interfaceOrientation">1</int>
+				</object>
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+				<bool key="IBUIHorizontal">NO</bool>
+			</object>
+			<object class="IBUIWindow" id="117978783">
+				<nil key="NSNextResponder"/>
+				<int key="NSvFlags">292</int>
+				<string key="NSFrameSize">{320, 480}</string>
+				<object class="NSColor" key="IBUIBackgroundColor">
+					<int key="NSColorSpace">1</int>
+					<bytes key="NSRGB">MSAxIDEAA</bytes>
+				</object>
+				<bool key="IBUIOpaque">NO</bool>
+				<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
+				<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+				<bool key="IBUIResizesToFullScreen">YES</bool>
+			</object>
+		</object>
+		<object class="IBObjectContainer" key="IBDocument.Objects">
+			<object class="NSMutableArray" key="connectionRecords">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+				<object class="IBConnectionRecord">
+					<object class="IBCocoaTouchOutletConnection" key="connection">
+						<string key="label">delegate</string>
+						<reference key="source" ref="841351856"/>
+						<reference key="destination" ref="664661524"/>
+					</object>
+					<int key="connectionID">4</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBCocoaTouchOutletConnection" key="connection">
+						<string key="label">viewController</string>
+						<reference key="source" ref="664661524"/>
+						<reference key="destination" ref="943309135"/>
+					</object>
+					<int key="connectionID">11</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBCocoaTouchOutletConnection" key="connection">
+						<string key="label">window</string>
+						<reference key="source" ref="664661524"/>
+						<reference key="destination" ref="117978783"/>
+					</object>
+					<int key="connectionID">14</int>
+				</object>
+			</object>
+			<object class="IBMutableOrderedSet" key="objectRecords">
+				<object class="NSArray" key="orderedObjects">
+					<bool key="EncodedWithXMLCoder">YES</bool>
+					<object class="IBObjectRecord">
+						<int key="objectID">0</int>
+						<reference key="object" ref="0"/>
+						<reference key="children" ref="1000"/>
+						<nil key="parent"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">-1</int>
+						<reference key="object" ref="841351856"/>
+						<reference key="parent" ref="0"/>
+						<string key="objectName">File's Owner</string>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">3</int>
+						<reference key="object" ref="664661524"/>
+						<reference key="parent" ref="0"/>
+						<string key="objectName">RPG_Part1 App Delegate</string>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">-2</int>
+						<reference key="object" ref="427554174"/>
+						<reference key="parent" ref="0"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">10</int>
+						<reference key="object" ref="943309135"/>
+						<reference key="parent" ref="0"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">12</int>
+						<reference key="object" ref="117978783"/>
+						<reference key="parent" ref="0"/>
+					</object>
+				</object>
+			</object>
+			<object class="NSMutableDictionary" key="flattenedProperties">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+				<object class="NSArray" key="dict.sortedKeys">
+					<bool key="EncodedWithXMLCoder">YES</bool>
+					<string>-1.CustomClassName</string>
+					<string>-2.CustomClassName</string>
+					<string>10.CustomClassName</string>
+					<string>10.IBEditorWindowLastContentRect</string>
+					<string>10.IBPluginDependency</string>
+					<string>12.IBEditorWindowLastContentRect</string>
+					<string>12.IBPluginDependency</string>
+					<string>3.CustomClassName</string>
+					<string>3.IBPluginDependency</string>
+				</object>
+				<object class="NSMutableArray" key="dict.values">
+					<bool key="EncodedWithXMLCoder">YES</bool>
+					<string>UIApplication</string>
+					<string>UIResponder</string>
+					<string>RPG_Part1ViewController</string>
+					<string>{{234, 376}, {320, 480}}</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+					<string>{{525, 346}, {320, 480}}</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+					<string>RPG_Part1AppDelegate</string>
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+				</object>
+			</object>
+			<object class="NSMutableDictionary" key="unlocalizedProperties">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+				<reference key="dict.sortedKeys" ref="0"/>
+				<object class="NSMutableArray" key="dict.values">
+					<bool key="EncodedWithXMLCoder">YES</bool>
+				</object>
+			</object>
+			<nil key="activeLocalization"/>
+			<object class="NSMutableDictionary" key="localizations">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+				<reference key="dict.sortedKeys" ref="0"/>
+				<object class="NSMutableArray" key="dict.values">
+					<bool key="EncodedWithXMLCoder">YES</bool>
+				</object>
+			</object>
+			<nil key="sourceID"/>
+			<int key="maxID">15</int>
+		</object>
+		<object class="IBClassDescriber" key="IBDocument.Classes">
+			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+				<object class="IBPartialClassDescription">
+					<string key="className">UIWindow</string>
+					<string key="superclassName">UIView</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBUserSource</string>
+						<string key="minorKey"/>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">RPG_Part1AppDelegate</string>
+					<string key="superclassName">NSObject</string>
+					<object class="NSMutableDictionary" key="outlets">
+						<bool key="EncodedWithXMLCoder">YES</bool>
+						<object class="NSArray" key="dict.sortedKeys">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<string>viewController</string>
+							<string>window</string>
+						</object>
+						<object class="NSMutableArray" key="dict.values">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<string>RPG_Part1ViewController</string>
+							<string>UIWindow</string>
+						</object>
+					</object>
+					<object class="NSMutableDictionary" key="toOneOutletInfosByName">
+						<bool key="EncodedWithXMLCoder">YES</bool>
+						<object class="NSArray" key="dict.sortedKeys">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<string>viewController</string>
+							<string>window</string>
+						</object>
+						<object class="NSMutableArray" key="dict.values">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<object class="IBToOneOutletInfo">
+								<string key="name">viewController</string>
+								<string key="candidateClassName">RPG_Part1ViewController</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">window</string>
+								<string key="candidateClassName">UIWindow</string>
+							</object>
+						</object>
+					</object>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">Classes/RPG_Part1AppDelegate.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">RPG_Part1AppDelegate</string>
+					<string key="superclassName">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBUserSource</string>
+						<string key="minorKey"/>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">RPG_Part1ViewController</string>
+					<string key="superclassName">UIViewController</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">Classes/RPG_Part1ViewController.h</string>
+					</object>
+				</object>
+			</object>
+			<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSError.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSURL.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="356479594">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UIResponder.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UIApplication</string>
+					<string key="superclassName">UIResponder</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UIApplication.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UIResponder</string>
+					<string key="superclassName">NSObject</string>
+					<reference key="sourceIdentifier" ref="356479594"/>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UISearchBar</string>
+					<string key="superclassName">UIView</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">UIKit.framework/Headers/UISearchBar.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">UISearchDisplayController</string>