Parking Challenge-No collide

A common problem in the world is that parking spaces are difficult to find and the car is difficult to stop. If the player is confident in their own parking technology, then try this game and challenge your parking technology!

Save and read player level records (WNXStageInfoManager)

How to persist store game player clearance information and score each record .This project uses archiving and solution.Wonder WNXStageInfoManager get a singleton object, by calling the Save and Read method to save or read the level information, when the game level into the settlement score Controller, determine whether the new record needs to be saved, save the interface if you need to call specific implementation code, please refer to WNXStageInfoManager.m file

// singleton method

+ (instancetype) sharedStageInfoManager;

// Save the level information

- (BOOL) saveStageInfo: (WNXStageInfo *) stageInfo;

// Read the level information of the specified level number

- (WNXStageInfo *) stageInfoWithNumber: (int) number;

// This interface is when the game can not pass, click the handle button in the RootViewController to unlock the next level to use (** Cheats ~ caution **)

- (BOOL) unlockNextStage;

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 12,157评论 0 10
  • 我是一个脆弱的人。
    高处不胜寒1阅读 1,326评论 0 0
  • 婆罗门引-过日溪 清风青岭,云烟落处有人家。两三翠竹将遮。八九绿松欲闭,何处客闲茶。旧时桥头盼,今日成奢。 聚离似...
    深蓝色木鱼阅读 1,443评论 1 9
  • 我醒来又睡去 他在饮酒 没有菜 给眼睛,给嘴唇,给孩子 什么都能交出 除了语言
    MelissaJiang阅读 1,267评论 0 0
  • 温故 手持正确姿势 必买:相机带材质应已坚实为宜,切记双缠绕应对各种手滑状况。 知新 构图 表达:作为初学者一物一...
    牛牛牛牛牛魔王阅读 2,738评论 1 15