Advertisement
Guest User

Untitled

a guest
Jul 17th, 2022
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. class TestFlower: Actor
  2. {
  3.     int y;
  4.     property bullets: y;
  5.     Default
  6.     {
  7.         TestFlower.bullets 10;
  8.     }
  9.  
  10.     void Truth()
  11.     {
  12.         // more logic here soon
  13.         string s;
  14.         s = String.Format("You have  %d bullets left" , TestFlower.bullets);
  15.         A_Print(s);
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement