Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95163814
tickcounter.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Dec 13, 09:07
Size
404 B
Mime Type
text/x-c++
Expires
Sun, Dec 15, 09:07 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22915885
Attached To
rSYMKIT symkit
tickcounter.h
View Options
#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
Log In to Comment