Delete Box2DView::tick() method.

This commit is contained in:
boyu0 2014-03-05 15:55:08 +08:00
parent 8a4f16fec6
commit b0414a88ed
2 changed files with 1 additions and 8 deletions

View File

@ -176,9 +176,7 @@ Box2DView* Box2DView::viewWithEntryID(int entryId)
}
bool Box2DView::initWithEntryID(int entryId)
{
schedule( schedule_selector(Box2DView::tick) );
{
m_entry = g_testEntries + entryId;
m_test = m_entry->createFcn();
@ -202,10 +200,6 @@ std::string Box2DView::title() const
return std::string(m_entry->name);
}
void Box2DView::tick(float dt)
{
}
void Box2DView::draw(Renderer *renderer, const kmMat4 &transform, bool transformUpdated)
{
Layer::draw(renderer, transform, transformUpdated);

View File

@ -41,7 +41,6 @@ public:
bool initWithEntryID(int entryId);
std::string title() const;
void tick(float dt);
virtual void draw(Renderer *renderer, const kmMat4 &transform, bool transformUpdated) override;
// virtual void registerWithTouchDispatcher();