This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* client | |
* Mouse.js - Advanced mouse states (clicked...) | |
*/ | |
define( | |
// Includes | |
[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var React = require('react-native'); | |
var tweenState = require('react-tween-state'); | |
var { | |
View, | |
Text | |
} = React; | |
var Test = React.createClass({ | |
mixins: [tweenState.Mixin], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ability system | |
// Generic class for abilities | |
class Ability { | |
public: | |
virtual void Update(float dt) = 0; | |
virtual void Launch() = 0; | |
float cooldown = 0.0f; | |
} |