yyagl package

Subpackages

Submodules

yyagl.computer_proxy module

class yyagl.computer_proxy.ComputerProxy[source]

Bases: object

destroy()[source]
on_start_frame()[source]
yyagl.computer_proxy.compute_once(fun)[source]
yyagl.computer_proxy.once_a_frame(fun)[source]

yyagl.decorator module

yyagl.dictfile module

class yyagl.dictfile.DctFile(fpath, default_dct=None, persistent=True)[source]

Bases: yyagl.gameobject.GameObject

static deepupdate(dct, new_dct)[source]
store()[source]

yyagl.facade module

yyagl.game module

class yyagl.game.Game(cfg, client_cls=None)[source]

Bases: yyagl.game.GameBase

run()[source]
class yyagl.game.GameBase(cfg, client_cls=None)[source]

Bases: yyagl.gameobject.GameObject, yyagl.game.GameFacade

destroy()[source]
class yyagl.game.GameFacade[source]

Bases: object

demand(tgt_state, *args)[source]
class yyagl.game.GameLogic(mediator)[source]

Bases: yyagl.gameobject.LogicColleague

on_start()[source]

yyagl.gameobject module

class yyagl.gameobject.AiColleague(mediator)[source]

Bases: yyagl.gameobject.Colleague

class yyagl.gameobject.AudioColleague(mediator)[source]

Bases: yyagl.gameobject.Colleague

class yyagl.gameobject.Colleague(mediator)[source]

Bases: yyagl.observer.Subject

destroy()[source]
eng = None
class yyagl.gameobject.EventColleague(mediator)[source]

Bases: yyagl.gameobject.Colleague, direct.showbase.DirectObject.DirectObject

destroy()[source]
class yyagl.gameobject.FsmColleague(mediator)[source]

Bases: direct.fsm.FSM.FSM, yyagl.gameobject.Colleague

destroy()[source]
class yyagl.gameobject.GODirector(tgt_obj, init_lst, end_cb)[source]

Bases: object

destroy()[source]
end_lst(idx)[source]
on_comp_blt(obj)[source]
class yyagl.gameobject.GameObject[source]

Bases: yyagl.observer.Subject

class yyagl.gameobject.GfxColleague(mediator)[source]

Bases: yyagl.gameobject.Colleague

class yyagl.gameobject.GuiColleague(mediator)[source]

Bases: yyagl.gameobject.Colleague

class yyagl.gameobject.LogicColleague(mediator)[source]

Bases: yyagl.gameobject.Colleague

on_start()[source]
class yyagl.gameobject.PhysColleague(mediator)[source]

Bases: yyagl.gameobject.Colleague

yyagl.observer module

class yyagl.observer.ObsInfo(mth, sort, args)[source]

Bases: object

class yyagl.observer.Observer[source]

Bases: object

class yyagl.observer.Subject[source]

Bases: object

attach(obs_meth, sort=10, rename='', args=None)[source]
destroy()[source]
detach(obs_meth, lambda_call=None)[source]
notify(meth, *args, **kwargs)[source]
observing(obs_meth)[source]

yyagl.setup module

Module contents