Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Created by Justin Boisvert on 1/15/12.
- // Copyright (c) 2012 et. All rights reserved.
- #include "Scene.h"
- #include <iostream>
- #ifndef Sol_Work_it_h
- #define Sol_Work_it_h
- class Work_it : public Scene {
- Layer* mainLayer;
- Sprite *circle;
- public:
- void init(){
- circle = new Sprite();
- circle->init("Dude.png");
- mainLayer = new Layer();
- addLayer(mainLayer);
- mainLayer->addRenderable(circle,false);
- backgroundColor = whiteColorf();
- }
- void deinit(){
- delete mainLayer;
- }
- 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