daily pastebin goal
30%
SHARE
TWEET

Untitled

a guest Nov 18th, 2017 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     void UstawPremieRasowe()
  2.     {
  3.         const Human * wskHuman = dynamic_cast<const Human*>(rasa);
  4.         const Dwarf * wskDwarf = dynamic_cast<const Dwarf*>(rasa);
  5.         const Elf   * wskElf   = dynamic_cast<const Elf*>(rasa);
  6.         if(wskHuman)
  7.         {
  8.             sila += 2;
  9.         }
  10.         else if(wskDwarf)
  11.         {
  12.             kondycja += 2;
  13.         }
  14.         else if(wskElf)
  15.         {
  16.             zrecznosc += 2;
  17.         }
  18.     }
RAW Paste Data
Top