PageRenderTime 21ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/libs/cocos2d/CCScene.h

http://github.com/kstenerud/ObjectAL-for-iPhone
C Header | 45 lines | 5 code | 6 blank | 34 comment | 0 complexity | 5b70c97d7cc89594618ecc4d45aacf17 MD5 | raw file
 1/*
 2 * cocos2d for iPhone: http://www.cocos2d-iphone.org
 3 *
 4 * Copyright (c) 2008-2010 Ricardo Quesada
 5 * 
 6 * Permission is hereby granted, free of charge, to any person obtaining a copy
 7 * of this software and associated documentation files (the "Software"), to deal
 8 * in the Software without restriction, including without limitation the rights
 9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 * copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
12 * 
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
15 * 
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 * THE SOFTWARE.
23 *
24 */
25
26
27
28#import <UIKit/UIKit.h>
29
30#import "CCNode.h"
31
32/** CCScene is a subclass of CCNode that is used only as an abstract concept.
33 
34 CCScene an CCNode are almost identical with the difference that CCScene has it's
35 anchor point (by default) at the center of the screen.
36
37 For the moment CCScene has no other logic than that, but in future releases it might have
38 additional logic.
39
40 It is a good practice to use and CCScene as the parent of all your nodes.
41*/
42@interface CCScene : CCNode {
43
44}
45@end