![]() |
00001 // 00002 // Terrain.h 00003 // Author: Thomas Taylor 00004 // 00005 // A basic class to contain terrain relevant data 00006 // 00007 // 05/01/2012: Created class 00008 // 00009 00010 #import "GameManager.h" 00011 #import "GameObject.h" 00012 00013 @interface Terrain : GameObject 00014 00015 { 00016 NSString* filename; 00017 BOOL isWall; 00018 } 00019 00020 @property (readonly) BOOL isWall; 00021 00022 -(id)initObjectType:(GameObjectType)_type withPosition:(CGPoint)_position andFilename:(NSString*)_filename isWall:(BOOL)_isWall; 00023 00024 @end