tamcolors.examples package¶
Submodules¶
tamcolors.examples.alpha module¶
-
class
tamcolors.examples.alpha.TAMAlpha¶ Bases:
tamcolors.tam.tam_loop.TAMFrame-
draw(tam_surface, loop_data, *args)¶ info: will draw frame onto terminal :param tam_surface: TAMSurface :param loop_data: object :param other_surfaces: dict :param other_data: dict :return:
-
update(tam_loop, keys, loop_data, *args)¶ info: will update terminal :param tam_loop: TAMLoop :param keys: list, tuple :param loop_data: objects :param other_handlers: dict :param other_keys: dict :param other_data: dict :return:
-
-
tamcolors.examples.alpha.run()¶
tamcolors.examples.basic module¶
tamcolors.examples.clouds module¶
-
class
tamcolors.examples.clouds.Clouds¶ Bases:
tamcolors.tam.tam_loop.TAMFrame-
draw(tam_surface, loop_data, *args)¶ info: will draw frame onto terminal :param tam_surface: TAMSurface :param loop_data: object :param other_surfaces: dict :param other_data: dict :return:
-
update(tam_loop, keys, loop_data, *args)¶ info: will update terminal :param tam_loop: TAMLoop :param keys: list, tuple :param loop_data: objects :param other_handlers: dict :param other_keys: dict :param other_data: dict :return:
-
-
tamcolors.examples.clouds.run()¶
tamcolors.examples.colors module¶
-
class
tamcolors.examples.colors.TAMCOLORS¶ Bases:
tamcolors.tam.tam_loop.TAMFrame-
draw(tam_surface, loop_data, *args)¶ info: will draw frame onto terminal :param tam_surface: TAMSurface :param loop_data: object :param other_surfaces: dict :param other_data: dict :return:
-
update(tam_loop, keys, loop_data, *args)¶ info: will update terminal :param tam_loop: TAMLoop :param keys: list, tuple :param loop_data: objects :param other_handlers: dict :param other_keys: dict :param other_data: dict :return:
-
-
tamcolors.examples.colors.run()¶
tamcolors.examples.connection_multi_player module¶
-
tamcolors.examples.connection_multi_player.run()¶
tamcolors.examples.host_multi_player module¶
-
class
tamcolors.examples.host_multi_player.HostMultiPlayer¶ Bases:
tamcolors.tam.tam_loop.TAMFrame-
draw(tam_surface, loop_data, other_surfaces, other_data)¶ info: will draw frame onto terminal :param tam_surface: TAMSurface :param loop_data: object :param other_surfaces: dict :param other_data: dict :return:
-
update(tam_loop, keys, loop_data, other_handlers, other_keys, other_data)¶ info: will update terminal :param tam_loop: TAMLoop :param keys: list, tuple :param loop_data: objects :param other_handlers: dict :param other_keys: dict :param other_data: dict :return:
-
-
tamcolors.examples.host_multi_player.run()¶
tamcolors.examples.icon module¶
-
class
tamcolors.examples.icon.BootLogo¶ Bases:
tamcolors.tam.tam_loop.TAMFrame-
draw(tam_surface, loop_data, *args)¶ info: will draw frame onto terminal :param tam_surface: TAMSurface :param loop_data: object :param other_surfaces: dict :param other_data: dict :return:
-
update(tam_loop, keys, loop_data, *args)¶ info: will update terminal :param tam_loop: TAMLoop :param keys: list, tuple :param loop_data: objects :param other_handlers: dict :param other_keys: dict :param other_data: dict :return:
-
-
tamcolors.examples.icon.run()¶
tamcolors.examples.rgb_color module¶
-
class
tamcolors.examples.rgb_color.RGBCOLOR¶ Bases:
tamcolors.tam.tam_loop.TAMFrame-
draw(tam_surface, loop_data, *args)¶ info: will draw frame onto terminal :param tam_surface: TAMSurface :param loop_data: object :param other_surfaces: dict :param other_data: dict :return:
-
update(tam_loop, keys, loop_data, *args)¶ info: will update terminal :param tam_loop: TAMLoop :param keys: list, tuple :param loop_data: objects :param other_handlers: dict :param other_keys: dict :param other_data: dict :return:
-
-
tamcolors.examples.rgb_color.run()¶
tamcolors.examples.tabletennis module¶
-
class
tamcolors.examples.tabletennis.Ball(tam_surface, way=False)¶ Bases:
object-
get_y()¶
-
update()¶
-
winner()¶
-
-
class
tamcolors.examples.tabletennis.Racket(x, ball, tam_surface, ai=False)¶ Bases:
object-
update(key_manager)¶
-
-
class
tamcolors.examples.tabletennis.TableTennis¶ Bases:
tamcolors.tam.tam_loop.TAMFrame-
draw(tam_surface, loop_data, *args)¶ info: will draw frame onto terminal :param tam_surface: TAMSurface :param loop_data: object :param other_surfaces: dict :param other_data: dict :return:
-
update(tam_loop, keys, loop_data, *args)¶ info: will update terminal :param tam_loop: TAMLoop :param keys: list, tuple :param loop_data: objects :param other_handlers: dict :param other_keys: dict :param other_data: dict :return:
-
-
tamcolors.examples.tabletennis.run()¶
tamcolors.examples.tam_key_manager module¶
-
class
tamcolors.examples.tam_key_manager.TAMKeyManager¶ Bases:
tamcolors.tam.tam_loop.TAMFrame-
draw(tam_surface, loop_data, *args)¶ info: will draw frame onto terminal :param tam_surface: TAMSurface :param loop_data: object :param other_surfaces: dict :param other_data: dict :return:
-
update(tam_loop, keys, loop_data, *args)¶ info: will update terminal :param tam_loop: TAMLoop :param keys: list, tuple :param loop_data: objects :param other_handlers: dict :param other_keys: dict :param other_data: dict :return:
-
-
tamcolors.examples.tam_key_manager.run()¶
tamcolors.examples.tam_keys module¶
-
class
tamcolors.examples.tam_keys.TAMKeys¶ Bases:
tamcolors.tam.tam_loop.TAMFrame-
draw(tam_surface, loop_data, *args)¶ info: will draw frame onto terminal :param tam_surface: TAMSurface :param loop_data: object :param other_surfaces: dict :param other_data: dict :return:
-
update(tam_loop, keys, loop_data, *args)¶ info: will update terminal :param tam_loop: TAMLoop :param keys: list, tuple :param loop_data: objects :param other_handlers: dict :param other_keys: dict :param other_data: dict :return:
-
-
tamcolors.examples.tam_keys.run()¶
tamcolors.examples.tam_list_surface module¶
-
class
tamcolors.examples.tam_list_surface.TAMListSurface¶ Bases:
tamcolors.tam.tam_loop.TAMFrame-
draw(tam_surface, loop_data, *args)¶ info: will draw frame onto terminal :param tam_surface: TAMSurface :param loop_data: object :param other_surfaces: dict :param other_data: dict :return:
-
update(tam_loop, keys, loop_data, *args)¶ info: will update terminal :param tam_loop: TAMLoop :param keys: list, tuple :param loop_data: objects :param other_handlers: dict :param other_keys: dict :param other_data: dict :return:
-
-
tamcolors.examples.tam_list_surface.run()¶
tamcolors.examples.tam_loop module¶
-
class
tamcolors.examples.tam_loop.TAMLoopHelloWorld¶ Bases:
tamcolors.tam.tam_loop.TAMFrame-
draw(tam_surface, loop_data, *args)¶ info: will draw frame onto terminal :param tam_surface: TAMSurface :param loop_data: object :param other_surfaces: dict :param other_data: dict :return:
-
update(tam_loop, keys, loop_data, *args)¶ info: will update terminal :param tam_loop: TAMLoop :param keys: list, tuple :param loop_data: objects :param other_handlers: dict :param other_keys: dict :param other_data: dict :return:
-
-
tamcolors.examples.tam_loop.run()¶
tamcolors.examples.tam_print module¶
-
class
tamcolors.examples.tam_print.TAMPrint¶ Bases:
tamcolors.tam.tam_loop.TAMFrame-
draw(tam_surface, loop_data, *args)¶ info: will draw frame onto terminal :param tam_surface: TAMSurface :param loop_data: object :param other_surfaces: dict :param other_data: dict :return:
-
update(tam_loop, keys, loop_data, *args)¶ info: will update terminal :param tam_loop: TAMLoop :param keys: list, tuple :param loop_data: objects :param other_handlers: dict :param other_keys: dict :param other_data: dict :return:
-
-
tamcolors.examples.tam_print.run()¶
tamcolors.examples.tam_text_box module¶
-
class
tamcolors.examples.tam_text_box.TAMPrint¶ Bases:
tamcolors.tam.tam_loop.TAMFrame-
draw(tam_surface, loop_data, *args)¶ info: will draw frame onto terminal :param tam_surface: TAMSurface :param loop_data: object :param other_surfaces: dict :param other_data: dict :return:
-
update(tam_loop, keys, loop_data, *args)¶ info: will update terminal :param tam_loop: TAMLoop :param keys: list, tuple :param loop_data: objects :param other_handlers: dict :param other_keys: dict :param other_data: dict :return:
-
-
tamcolors.examples.tam_text_box.run()¶