Skip to content

Instantly share code, notes, and snippets.

@happyDemon
Created March 3, 2017 14:27
Show Gist options
  • Save happyDemon/3d6cef926e8a0a7b975df607631b27b1 to your computer and use it in GitHub Desktop.
Save happyDemon/3d6cef926e8a0a7b975df607631b27b1 to your computer and use it in GitHub Desktop.
Vue.js explained through Pokemon #5
if(attackPower > 0)
{
// Show that the opponnet is receiving damage
Velocity(document.getElementById(this.otherPokemon+'-pokemon'), 'callout.swing');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment