Compare commits
1 commit
a492a0bb6a
...
307c3ff414
Author | SHA1 | Date | |
---|---|---|---|
307c3ff414 |
3 changed files with 5 additions and 5 deletions
|
@ -3,16 +3,17 @@ CARDS = {
|
|||
"tshirt": ["XS", "S", "M", "L", "XL", "XXL", "XXXL", "?"],
|
||||
}
|
||||
|
||||
|
||||
class Cards:
|
||||
"""
|
||||
Cards class object
|
||||
"""
|
||||
def __init__(self, card_type = "fibonacci"):
|
||||
|
||||
def __init__(self, card_type="fibonacci"):
|
||||
self.card_type = card_type
|
||||
self.cards = []
|
||||
self.create()
|
||||
|
||||
|
||||
def create(self):
|
||||
"""
|
||||
Method to create a deck of cards
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import uuid
|
||||
|
||||
|
||||
class Person:
|
||||
"""
|
||||
Person entity
|
||||
|
@ -13,7 +14,6 @@ class Person:
|
|||
self.uuid = None
|
||||
self.create()
|
||||
|
||||
|
||||
def create(self):
|
||||
if not self.uuid:
|
||||
self.uuid = uuid.uuid1()
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import uuid
|
||||
|
||||
|
||||
class Room:
|
||||
"""
|
||||
Room entity
|
||||
|
@ -14,7 +15,6 @@ class Room:
|
|||
self.attendant = []
|
||||
self.create()
|
||||
|
||||
|
||||
def create(self):
|
||||
"""
|
||||
Method to create a new room object
|
||||
|
@ -24,7 +24,6 @@ class Room:
|
|||
|
||||
return self
|
||||
|
||||
|
||||
def add_person(self, person: uuid.UUID):
|
||||
"""
|
||||
Method to add a person to a room
|
||||
|
|
Loading…
Add table
Reference in a new issue