mirror of https://github.com/axmolengine/axmol.git
Delete Box2DView::tick() method.
This commit is contained in:
parent
8a4f16fec6
commit
b0414a88ed
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue