Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Mar 31st, 2020 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Person:
  2.     def __init__(self, name, health, gold, experience, pos=0):
  3.         self.name = name
  4.         self.health = health
  5.         self.gold = gold
  6.         self.experience = experience
  7.         self.pos = pos
  8.  
  9.     def print_stat(self):
  10.         print(self.name, self.health, self.gold, self.experience, self.pos)
  11.  
  12.  
  13. class Room:
  14.     def __init__(self, rnum, rname, rdesc, north=None, south=None, east=None, west=None):
  15.         self.rnum = rnum
  16.         self.rname = rname
  17.         self.rdesc = rdesc
  18.         self.north = north
  19.         self.south = south
  20.         self.east = east
  21.         self.west = west
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top