Page MenuHomec4science

tickcounter.h
No OneTemporary

File Metadata

Created
Fri, Dec 13, 09:07

tickcounter.h

#ifndef TICKCOUNTER_H
#define TICKCOUNTER_H
#include "skactor.h"
class TickCounter : public SKActor
{
public:
typedef unsigned long int count_t;
TickCounter(count_t init = 0);
~TickCounter();
virtual void initialize() override;
virtual void evolve(float dt) override;
count_t getCount() const;
void reset();
private:
count_t count;
};
#endif // TICKCOUNTER_H

Event Timeline