//
// BeanieViewController.h
// HitBeanieDemo
//
// Created by wll@pdrs on 13-3-7.
// Copyright 2013 Jetsen. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "BeanieBackGroundView.h"
#import "BeanieButton.h"
#import "CustomProgressBar.h"
#import "TooltipViewController.h"
//const int MAX_ROW = 16;
//const int MAX_COLUMN = 24;
#define MAX_ROW 16
#define MAX_COLUMN 24
@interface BeanieViewController : UIViewController
{
IBOutlet BeanieBackGroundView *mBackGroundView;
IBOutlet UIButton *mStartBtn;
UIImageView *mHeadView;
CustomProgressBar *mProgressBar;
NSTimer *mPlayTimer;
int mCurrentValue;
UILabel *mScoreLable;
int mTotalScore;
TooltipViewController *mTooltipController;
UIWindow *mTooltipWindow;
//记录每种颜色的豆豆的总数
int mRedCount;
int mBlueCount;
int mYellowCount;
int mPurpleCount;
int mCurrentRow;
int mCurrentColumn;
int mCurrentOffset;
int mPositionFlag[MAX_ROW][MAX_COLUMN];
BeanieButton* mBeanies[MAX_ROW][MAX_COLUMN];
}
+ (BeanieViewController *)viewController;
- (void)initAllArguments;
- (int)getRandomValue:(bool) isEvenNumber baseNumber:(int) nBase;
- (void)createBeaniesPosition:(int) count color:(NSString *) strColor;
- (IBAction)startBtnClicked:(id)sender;
- (void)removeSameBeanieLeft:(BeanieButton *) lBeanie right:(BeanieButton *) rBeanie up:(BeanieButton *) uBeanie down:(BeanieButton *) dBeanie;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
HitBeanieDemo.zip (90个子文件)
HitBeanieDemo
main.m 368B
BeanieView.xib 30KB
HitBeanieDemo-Info.plist 939B
build
Debug-iphonesimulator
HitBeanieDemo.app
HitBeanieDemo 55KB
mainBack.png 102KB
BeanieView.nib 5KB
PkgInfo 8B
MainWindow.nib 2KB
right.png 3KB
button.png 7KB
ToolTipController.nib 4KB
ToolTipWindow.nib 4KB
red.png 4KB
left.png 3KB
yellow.png 4KB
Back1.png 3KB
Info.plist 615B
title.png 13KB
blue.png 4KB
purple.png 4KB
head.png 21KB
Back2.png 3KB
HitBeanieDemo.app.dSYM
Contents
Resources
DWARF
HitBeanieDemo 169KB
Info.plist 597B
HitBeanieDemo.build
Debug-iphonesimulator
HitBeanieDemo.build
HitBeanieDemo-own-target-headers.hmap 793B
HitBeanieDemo.hmap 2KB
HitBeanieDemo-generated-files.hmap 121B
Objects-normal
i386
CustomProgressBar.o 41KB
BeanieButton.o 50KB
pubilc.o~> 0B
TooltipViewController.o 43KB
BeanieViewController.o 77KB
BeanieTooltipWindow.o~$ 4KB
HitBeanieDemoAppDelegate.o 52KB
BeanieTooltipWindow.o 43KB
pubilc.o~$ 4KB
BeanieBackGroundView.o 50KB
HitBeanieDemo.LinkFileList 1000B
CustomThread.o 11KB
BeanieTooltipWindow.o~> 0B
main.o 6KB
HitBeanieDemo~.dep 2KB
HitBeanieDemo-all-target-headers.hmap 793B
build-state.dat 61KB
build-state~.dat 17KB
HitBeanieDemo.dep 7KB
HitBeanieDemo-project-headers.hmap 1KB
HitBeanieDemo.pbxindex
imports.pbxbtree 9KB
decls.pbxbtree 155KB
files.pbxbtree 3KB
protocols.pbxbtree 2KB
subclasses.pbxbtree 2KB
pbxindex.header 24B
symbols0.pbxsymbols 678KB
categories.pbxbtree 1KB
refs.pbxbtree 121KB
strings.pbxstrings
control 256KB
strings 332KB
cdecls.pbxbtree 157KB
Classes
TooltipViewController.m 1KB
BeanieButton.h 712B
HitBeanieDemoAppDelegate.h 401B
TooltipViewController.h 515B
CustomProgressBar.h 333B
BeanieButton.m 4KB
Classes-1.moved-aside
stafx.h 202B
BeanieViewController.m 11KB
HitBeanieDemoAppDelegate.m 3KB
BeanieBackGroundView.m 3KB
CustomProgressBar.m 1KB
BeanieViewController.h 1KB
BeanieBackGroundView.h 414B
HitBeanieDemo.xcodeproj
apple.pbxuser 9KB
project.pbxproj 19KB
apple.perspectivev3 42KB
Images
mainBack.png 102KB
right.png 3KB
button.png 7KB
red.png 4KB
left.png 3KB
yellow.png 4KB
Back1.png 3KB
title.png 13KB
blue.png 4KB
purple.png 4KB
head.png 21KB
Back2.png 3KB
HitBeanieDemo_Prefix.pch 203B
MainWindow.xib 20KB
ToolTipController.xib 30KB
共 90 条
- 1
资源评论
- u0111279302014-12-26值得学习,博主用心了
- lcy78430722014-02-07不是打豆豆,类似连连看的东西,不好
再搬一次砖
- 粉丝: 7
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 杨辉三角(Pascal's Triangle)是一个在数学中非常著名的数列,它以一种特定的模式排列数字,内容以5种代码实例实现
- yolov5数据集:CT图像肾脏、结石检测(2类别,包含训练集、验证集)
- 电力102规约请求报文实录
- RTL8723 linux+安卓驱动 2020版本
- ISO 26262 道路车辆-功能安全-系统级产品开发
- 数据挖掘期末题 选择填空简答
- EKF在CTRV模型上的建模推导
- 用于:https://laoshifu.blog.csdn.net/article/details/138191428 多层创建
- 电力102规约(电能累计量的传输规约)培训
- 「常用」E9外部流程接口
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功