From 002dc99a071a4a8f7d2afc15d1fdf2ae0312faed Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Tue, 9 Aug 2011 21:36:09 -0400 Subject: Abstracted a lot of GameLayer's functionality out MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In order to prepare for tutorial mode (and eventually, the other game modes), a lot of GameLayer's functionality (reading the accelerometer, moving the cart, moving falling objects, reacting to collisions…) has been abstracted out to FallingObject and subclasses of FallingObject, as well as a new Cart class, and GameMode, a new superclass of GameLayer. The only things that were not abstracted out that probably will be in the future are the pause functionality and the tutorial bubble functionality (which will in fact be moved to the tutorial mode class). A lot of work was also done to cut down on compiler warnings and a lot of #imports were moved from header files to implementation files because I realized THAT'S HOW YOU'RE SUPPOSED TO DO IT. Refs #193 --- Classes/ValuableObject.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) mode change 100755 => 100644 Classes/ValuableObject.h (limited to 'Classes/ValuableObject.h') diff --git a/Classes/ValuableObject.h b/Classes/ValuableObject.h old mode 100755 new mode 100644 index ccefbbd..7b484d9 --- a/Classes/ValuableObject.h +++ b/Classes/ValuableObject.h @@ -2,13 +2,13 @@ // ValuableObject.h // Cart Collect // -// Created by iD Student Account on 7/20/11. -// Copyright 2011 __MyCompanyName__. All rights reserved. +// Created by Starla Insigna on 8/9/11. +// Copyright 2011 Four Island. All rights reserved. // -#import +#import "FallingObject.h" -@protocol ValuableObject +@interface ValuableObject : FallingObject - (int)pointValue; -- cgit 1.4.1