//
// diceBetGameViewController.h
// diceBetGame
//
// Created by apple on 11-8-29.
// Copyright 2011年 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface diceBetGameViewController : UIViewController {
IBOutlet UIImageView *diceImageView1;//骰子
IBOutlet UIImageView *diceImageView2;
IBOutlet UIImageView *diceImageView3;
IBOutlet UILabel *cashLabel;//顯示現金
IBOutlet UILabel *betLabel;//顯示賭金
int cash,bet; //cash 現金,bet 賭金
int diceNumber1,diceNumber2,diceNumber3;
}
@property(nonatomic,retain) IBOutlet UIImageView *diceImageView1;
@property(nonatomic,retain) IBOutlet UIImageView *diceImageView2;
@property(nonatomic,retain) IBOutlet UIImageView *diceImageView3;
@property(nonatomic,retain) IBOutlet UILabel *cashLabel;
@property(nonatomic,retain) IBOutlet UILabel *betLabel;
-(IBAction)addFunction:(id)sender;//增加賭金
-(IBAction)subFunction:(id)sender;//減少賭金
-(IBAction)startFunction:(id)sender;//遊戲開始
-(IBAction)allinFunction:(id)sender;//賭金全下
-(IBAction)resetCashFunction:(id)sender;//重新開始
-(void)showLabel;//顯示標簽
-(void)showImage;//顯示圖片
-(void)animationDiceFun;
-(void)runRandom;//產生亂數
-(void)alertMsg;//判斷持有金額並顯示提示訊息
@end
没有合适的资源?快使用搜索试试~ 我知道了~
iOS游戏应用源代码——wenshyansu-DiceBetGame-c171e95.zip
共28个文件
png:12个
m:3个
xib:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 49 浏览量
2023-07-05
23:23:30
上传
评论
收藏 1.21MB ZIP 举报
温馨提示
iOS游戏应用源代码——wenshyansu-DiceBetGame-c171e95.zip
资源推荐
资源详情
资源评论
收起资源包目录
iOS游戏应用源代码——wenshyansu-DiceBetGame-c171e95.zip (28个子文件)
wenshyansu-DiceBetGame-c171e95
diceBetGame.xcodeproj
apple.mode1v3 38KB
project.pbxproj 17KB
project.xcworkspace
contents.xcworkspacedata 156B
README 249B
dice2.png 51KB
dice4.png 52KB
diceChip100.png 161KB
dice1.png 48KB
diceTable.jpg 93KB
cashBar.png 297KB
dice1_57x57.png 5KB
GO.png 86KB
dice6.png 52KB
betBar.png 279KB
Default.png 5KB
.gitignore 82B
diceBetGame
diceBetGameViewController.m 9KB
diceBetGameAppDelegate.h 431B
diceBetGame-Info.plist 1KB
main.m 355B
diceBetGameViewController.h 1KB
diceBetGameAppDelegate.m 2KB
en.lproj
diceBetGameViewController.xib 25KB
InfoPlist.strings 45B
MainWindow.xib 20KB
diceBetGame-Prefix.pch 328B
dice5.png 53KB
dice3.png 53KB
共 28 条
- 1
资源评论
快乐无限出发
- 粉丝: 1153
- 资源: 7299
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功