![]() |
Bridges-Python
3.2.0
Bridges(PythonAPI)
|
A Game object, used along with the Games data source.
This is a convenience class provided for users who wish to use this data source as part of their application. It provides an API that makes it easy to access the attributes of this data set.
Each game record has title, platform on which it can be played, rating, and a list of genres.
Public Member Functions | |
| def | __init__ |
| Constructor. More... | |
| def | title (self) |
| get game title More... | |
| def | title (self, t) |
| Set game title. More... | |
| def | platform (self) |
| get game platform More... | |
| def | platform (self, p) |
| Set game platform. More... | |
| def | rating (self) |
| get game rating More... | |
| def | rating (self, r) |
| Set game rating. More... | |
| def | genre (self) |
| get game genres More... | |
| def | genre (self, g) |
| Set game title. More... | |
| def bridges.data_src_dependent.game.Game.__init__ | ( | self, | |
| title | |||
| ) |
Constructor.
| title | game title |
| platform | game platform |
| rating | game rating |
| genre | game's genres |
| def bridges.data_src_dependent.game.Game.genre | ( | self | ) |
get game genres
| def bridges.data_src_dependent.game.Game.genre | ( | self, | |
| g | |||
| ) |
Set game title.
| g | game genres to set |
| def bridges.data_src_dependent.game.Game.platform | ( | self | ) |
get game platform
| def bridges.data_src_dependent.game.Game.platform | ( | self, | |
| p | |||
| ) |
Set game platform.
| p | game platform to set |
| def bridges.data_src_dependent.game.Game.rating | ( | self | ) |
get game rating
| def bridges.data_src_dependent.game.Game.rating | ( | self, | |
| r | |||
| ) |
Set game rating.
| r | game rating to set |
| def bridges.data_src_dependent.game.Game.title | ( | self | ) |
get game title
| def bridges.data_src_dependent.game.Game.title | ( | self, | |
| t | |||
| ) |
Set game title.
| t | game title to set |
1.8.13