|
def | set_encoding (self, encoding) |
|
def | get_data_structure_type (self) |
|
def | __init__ (self, rows=None, cols=None) |
|
def | initialize_game_Grid (self) |
|
def | get_bg_color (self, row, col) |
|
def | set_bg_color (self, row, col, color) |
|
def | get_fg_color (self, row, col) |
|
def | set_fg_color (self, row, col, color) |
|
def | get_symbol (self, row, col) |
|
def | get_symbol_color (self, row, col) |
|
def | draw_object (self, row, col, symbol, color) |
|
def | get_data_structure_representation (self) |
|
def | run_length (self, arr) |
|
def | get_data_structure_type (self) |
| Get the data structure type. More...
|
|
def | __init__ (self, kwargs) |
| Grid constructor. More...
|
|
def | dimensions (self) |
| Getter for the dimensions of the grid. More...
|
|
def | get |
| Get the row,col element in the grid. More...
|
|
def | set |
| set the (row, col) element in the grid More...
|
|
◆ __init__()
def bridges.game_grid.GameGrid.__init__ |
( |
|
self, |
|
|
|
rows = None , |
|
|
|
cols = None |
|
) |
| |
◆ draw_object()
def bridges.game_grid.GameGrid.draw_object |
( |
|
self, |
|
|
|
row, |
|
|
|
col, |
|
|
|
symbol, |
|
|
|
color |
|
) |
| |
◆ get_bg_color()
def bridges.game_grid.GameGrid.get_bg_color |
( |
|
self, |
|
|
|
row, |
|
|
|
col |
|
) |
| |
◆ get_data_structure_representation()
def bridges.game_grid.GameGrid.get_data_structure_representation |
( |
|
self | ) |
|
◆ get_data_structure_type()
def bridges.game_grid.GameGrid.get_data_structure_type |
( |
|
self | ) |
|
◆ get_fg_color()
def bridges.game_grid.GameGrid.get_fg_color |
( |
|
self, |
|
|
|
row, |
|
|
|
col |
|
) |
| |
◆ get_symbol()
def bridges.game_grid.GameGrid.get_symbol |
( |
|
self, |
|
|
|
row, |
|
|
|
col |
|
) |
| |
◆ get_symbol_color()
def bridges.game_grid.GameGrid.get_symbol_color |
( |
|
self, |
|
|
|
row, |
|
|
|
col |
|
) |
| |
◆ initialize_game_Grid()
def bridges.game_grid.GameGrid.initialize_game_Grid |
( |
|
self | ) |
|
◆ run_length()
def bridges.game_grid.GameGrid.run_length |
( |
|
self, |
|
|
|
arr |
|
) |
| |
◆ set_bg_color()
def bridges.game_grid.GameGrid.set_bg_color |
( |
|
self, |
|
|
|
row, |
|
|
|
col, |
|
|
|
color |
|
) |
| |
◆ set_encoding()
def bridges.game_grid.GameGrid.set_encoding |
( |
|
self, |
|
|
|
encoding |
|
) |
| |
◆ set_fg_color()
def bridges.game_grid.GameGrid.set_fg_color |
( |
|
self, |
|
|
|
row, |
|
|
|
col, |
|
|
|
color |
|
) |
| |
◆ bf_bg
bridges.game_grid.GameGrid.bf_bg |
◆ bf_fg
bridges.game_grid.GameGrid.bf_fg |
◆ bf_symbols
bridges.game_grid.GameGrid.bf_symbols |
◆ encoding
bridges.game_grid.GameGrid.encoding |
◆ grid_size
bridges.game_grid.GameGrid.grid_size |
The documentation for this class was generated from the following file: