first generated code
Code aus erster Modellierung
This commit is contained in:
parent
a960d3a6dd
commit
0e85e91f2e
21
maedn/Board.py
Normal file
21
maedn/Board.py
Normal file
@ -0,0 +1,21 @@
|
||||
# coding=UTF-8
|
||||
|
||||
class Board(object):
|
||||
|
||||
"""
|
||||
|
||||
|
||||
:version:
|
||||
:author:
|
||||
"""
|
||||
|
||||
""" ATTRIBUTES
|
||||
|
||||
|
||||
|
||||
dict_all_fields (private)
|
||||
|
||||
"""
|
||||
|
||||
|
||||
|
26
maedn/Field.py
Normal file
26
maedn/Field.py
Normal file
@ -0,0 +1,26 @@
|
||||
# coding=UTF-8
|
||||
from Board import *
|
||||
|
||||
class Field(object):
|
||||
|
||||
"""
|
||||
|
||||
|
||||
:version:
|
||||
:author:
|
||||
"""
|
||||
|
||||
""" ATTRIBUTES
|
||||
|
||||
|
||||
|
||||
board (private)
|
||||
|
||||
|
||||
|
||||
occupied (private)
|
||||
|
||||
"""
|
||||
|
||||
|
||||
|
48
maedn/GameController.py
Normal file
48
maedn/GameController.py
Normal file
@ -0,0 +1,48 @@
|
||||
# coding=UTF-8
|
||||
from Player import *
|
||||
from Board import *
|
||||
|
||||
class GameController(object):
|
||||
|
||||
"""
|
||||
|
||||
|
||||
:version:
|
||||
:author:
|
||||
"""
|
||||
|
||||
""" ATTRIBUTES
|
||||
|
||||
|
||||
|
||||
list_of_players (private)
|
||||
|
||||
|
||||
|
||||
board (private)
|
||||
|
||||
"""
|
||||
|
||||
def add_player(self, name, color):
|
||||
"""
|
||||
|
||||
|
||||
@param string name :
|
||||
@param string color :
|
||||
@return Player :
|
||||
@author
|
||||
"""
|
||||
pass
|
||||
|
||||
def remove_player(self, color):
|
||||
"""
|
||||
|
||||
|
||||
@param string color :
|
||||
@return :
|
||||
@author
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
|
13
maedn/GameView.py
Normal file
13
maedn/GameView.py
Normal file
@ -0,0 +1,13 @@
|
||||
# coding=UTF-8
|
||||
|
||||
class GameView(object):
|
||||
|
||||
"""
|
||||
|
||||
|
||||
:version:
|
||||
:author:
|
||||
"""
|
||||
|
||||
|
||||
|
13
maedn/House.py
Normal file
13
maedn/House.py
Normal file
@ -0,0 +1,13 @@
|
||||
# coding=UTF-8
|
||||
|
||||
class House(object):
|
||||
|
||||
"""
|
||||
|
||||
|
||||
:version:
|
||||
:author:
|
||||
"""
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user