Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // Circles.h
- // Hilarious
- //
- // Created by Justin Boisvert on 1/14/12.
- // Copyright (c) 2012 __MyCompanyName__. All rights reserved.
- //
- #ifndef Hilarious_Circles_h
- #define Hilarious_Circles_h
- #include "Vector.h"
- #include "Scene.h"
- class Circles : public Scene {
- Layer* mainLayer;
- Sprite* sprite1;
- public:
- void init(){
- addLayer(mainLayer);
- sprite1 = new Sprite("smiley.png");
- mainLayer->addRenderable(sprite1, true);
- }
- void deinit(){
- }
- void touchDown(const Vector2& loc){
- }
- void touchMoved(const Vector2& prev, const Vector2& loc){
- }
- void touchUp(const Vector2& loc){
- }
- void accelerated(const Vector3& acceleration){
- }
- void update(){
- Scene::update();
- }
- };
- #endif
Add Comment
Please, Sign In to add comment