//
// MainViewController.h
// 石头剪子布
//
// Created by nd on 10-9-18.
// Copyright 2010 Leo. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "GameRecord.h"
@interface MainViewController : UIViewController {
UIView *mainAniContainer; // 主动画容器View
UIImageView *shitouImg; // 石头的ImgView
UIImageView *jianziImg; // 剪子的ImgView
UIImageView *buImg; // 布的ImgView
UIButton *shitouBtn; // 石头的Btn
UIButton *jianziBtn; // 剪子的Btn
UIButton *buBtn; // 布的Btn
UIButton *resetBtn; // 重新设置的Btn
UIButton *recordBtn; // 去往游戏记录的Btn
UILabel *oneRoundResTxt; // 一局结果的TxetView
UIImageView *arrImages[3]; // 用于随机切换电脑下次出拳
int iCom; // 记录电脑当前出拳
int iWin, iDraw, iLose; // 记录比赛情况
NSMutableArray *arrRecList; // 记录比赛结果
}
@property (nonatomic, retain) UIView *mainAniContainer;
@property (nonatomic, retain) UIImageView *shitouImg;
@property (nonatomic, retain) UIImageView *jianziImg;
@property (nonatomic, retain) UIImageView *buImg;
@property (nonatomic, retain) UIButton *shitouBtn;
@property (nonatomic, retain) UIButton *jianziBtn;
@property (nonatomic, retain) UIButton *buBtn;
@property (nonatomic, retain) UIButton *resetBtn;
@property (nonatomic, retain) UIButton *recordBtn;
@property (nonatomic, retain) UILabel *oneRoundResTxt;
@property (nonatomic, retain) NSMutableArray *arrRecList;
- (void)playerDoShiTou:(id)sender;
- (void)playerDoJianZi:(id)sender;
- (void)playerDoBu:(id)sender;
- (void)goRecord:(id)sender;
- (void)resetRecord:(id)sender;
- (void)updateAni:(NSTimer *)theTimer;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
石头剪子布iPhone.zip (91个子文件)
石头剪子布
_____-Info.plist 925B
MainViewController.h 2KB
jianzi_small.png 13KB
石头剪子布.xcodeproj
nd.mode1v3 41KB
project.pbxproj 14KB
nd.pbxuser 32KB
MainWindow.xib 8KB
main.m 359B
jianzi.png 33KB
build
Release-iphonesimulator
石头剪子布.app
MainWindow.nib 1KB
jianzi_small.png 13KB
jianzi.png 33KB
bu_small.png 13KB
Info.plist 644B
PkgInfo 8B
bu.png 35KB
石头剪子布 34KB
shitou_small.png 12KB
shitou.png 32KB
石头剪子布.app.dSYM
Contents
Resources
DWARF
石头剪子布 92KB
Info.plist 589B
石头剪子布.build
Release-iphonesimulator
石头剪子布.build
Objects-normal
i386
石头剪子布.LinkFileList 734B
main.o 6KB
_____AppDelegate.o 39KB
CustomRecordCell.o 18KB
MainViewController.o 56KB
GameRecord.o 34KB
石头剪子布.hmap 2KB
build-state.dat 36KB
石头剪子布-generated-files.hmap 121B
石头剪子布-all-target-headers.hmap 793B
石头剪子布-own-target-headers.hmap 793B
石头剪子布~.dep 4KB
石头剪子布-project-headers.hmap 1015B
build-state~.dat 34KB
石头剪子布.dep 4KB
石头剪子布.pbxindex
decls.pbxbtree 121KB
cdecls.pbxbtree 121KB
symbols0.pbxsymbols 541KB
imports.pbxbtree 7KB
subclasses.pbxbtree 1KB
refs.pbxbtree 93KB
files.pbxbtree 3KB
strings.pbxstrings
control 256KB
strings 250KB
pbxindex.header 24B
protocols.pbxbtree 1KB
categories.pbxbtree 1KB
Debug-iphonesimulator
石头剪子布.build
Objects-normal
i386
MainViewController.o~> 0B
石头剪子布.LinkFileList 724B
MainViewController.o~$ 61KB
main.o 6KB
_____AppDelegate.o 40KB
CustomRecordCell.o 19KB
MainViewController.o 60KB
MainViewController.o~? 36B
GameRecord.o 34KB
石头剪子布.hmap 2KB
build-state.dat 35KB
石头剪子布-generated-files.hmap 121B
石头剪子布-all-target-headers.hmap 793B
石头剪子布-own-target-headers.hmap 793B
石头剪子布~.dep 4KB
石头剪子布-project-headers.hmap 1015B
build-state~.dat 39KB
石头剪子布.dep 4KB
Debug-iphonesimulator
石头剪子布.app
MainWindow.nib 1KB
jianzi_small.png 13KB
jianzi.png 33KB
bu_small.png 13KB
Info.plist 600B
PkgInfo 8B
bu.png 35KB
石头剪子布 39KB
shitou_small.png 12KB
shitou.png 32KB
石头剪子布.app.dSYM
Contents
Resources
DWARF
石头剪子布 92KB
Info.plist 589B
bu_small.png 13KB
MainViewController.m 10KB
bu.png 35KB
shitou_small.png 12KB
______Prefix.pch 199B
.DS_Store 6KB
Classes
_____AppDelegate.m 948B
CustomRecordCell.m 827B
GameRecord.h 291B
CustomRecordCell.h 271B
GameRecord.m 6KB
_____AppDelegate.h 437B
shitou.png 32KB
共 91 条
- 1
资源评论
- xinghuoo2013-04-09很久之前下载的 记得当时引用了 谢谢
naugthyLeo
- 粉丝: 14
- 资源: 38
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功