additional uml generated code

This commit is contained in:
Martin Putzlocher 2022-04-04 06:19:04 +00:00
parent 0e85e91f2e
commit 425f723501
3 changed files with 164 additions and 0 deletions

71
maedn/Player.py Normal file
View File

@ -0,0 +1,71 @@
# coding=UTF-8
from GameController import *
from House import *
class Player(object):
"""
:version:
:author:
"""
""" ATTRIBUTES
name (private)
color (private)
set_of_stones (private)
house (private)
"""
def take_turn(self):
"""
@return :
@author
"""
pass
def throw_dice(self):
"""
@return :
@author
"""
pass
def choose_stone(self):
"""
@return :
@author
"""
pass
def move_stone(self):
"""
@return :
@author
"""
pass

37
maedn/Position.py Normal file
View File

@ -0,0 +1,37 @@
# coding=UTF-8
class Position(object):
"""
:version:
:author:
"""
""" ATTRIBUTES
color_area (private)
number_of_field (private)
on_board (private)
in_house (private)
on_start (private)
"""

56
maedn/Stone.py Normal file
View File

@ -0,0 +1,56 @@
# coding=UTF-8
from Position import *
from Player import *
class Stone(object):
"""
:version:
:author:
"""
""" ATTRIBUTES
player (private)
position (private)
"""
def back_to_start(self):
"""
@return :
@author
"""
pass
def set_position(self, position):
"""
@param Position position :
@return :
@author
"""
pass
def __move(self, number_of_fields):
"""
@param int number_of_fields :
@return :
@author
"""
pass