Advertisement
Guest User

Untitled

a guest
May 19th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. void Hero::attackLine()
  2. {
  3.    int attack;
  4.  
  5.    cout << "Choose 3 attacks to perform. Enter 1 for HIT, 2 for CUT, 3 for SMASH" <<$
  6.       for(int i = 0; i < 3; i++)
  7.       {
  8.          cin >> attack;
  9.          attackLine.enqueue(attack);
  10.       }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement