Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97684068
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
Mon, Jan 6, 04:04
Size
404 B
Mime Type
text/x-c++
Expires
Wed, Jan 8, 04:04 (2 d)
Engine
blob
Format
Raw Data
Handle
23443532
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