Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F627860
action_speed.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
340 B
Referenced Files
None
Subscribers
None
action_speed.cpp
View Options
#include
"r-tech1/menu/action_speed.h"
#include
"r-tech1/configuration.h"
#include
"r-tech1/token.h"
ActionSpeed
::
ActionSpeed
(
const
Token
*
token
)
:
speed
(
0.1
){
token
->
view
()
>>
speed
;
}
ActionSpeed
::~
ActionSpeed
(){
}
void
ActionSpeed
::
act
(){
if
(
speed
<
0.1
){
speed
=
0.1
;
}
Configuration
::
setGameSpeed
(
speed
);
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Nov 15, 2:52 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
132660
Default Alt Text
action_speed.cpp (340 B)
Attached To
Mode
R75 R-Tech1
Attached
Detach File
Event Timeline