Pipe Puzzle- Irrigate flowers

As a gardener, the flowers in the garden need you to take care of them. Now you are laying pipes to allow the water to be successfully poured into the flowers. Think of ways to brainstorm how to connect messy water pipes and successfully water the flowers!



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;

你可能感兴趣的:(Pipe Puzzle- Irrigate flowers)