core.Screen module
Module variables
var SCREEN_SIZE
Classes
class Screen
Ancestors (in MRO)
- Screen
- builtins.object
Static methods
def __init__(
self, color, title='StreetCode Academy', show_mouse_pos=False)
Initialize self. See help(type(self)) for accurate signature.
def apply_velocity(
self)
def collided_with(
self, shape1, shape2)
def delete(
self, shape)
def draw_circle(
self, x, y, radius, color)
def draw_image(
self, x, y, image)
def draw_rectangle(
self, x, y, width, height, color)
def draw_text(
self, x, y, text, color, font='arial', size=30)
def forward(
self)
def get_keyboard(
self)
def get_mouse(
self)
def playing_game(
self)
def quit(
self)
Instance variables
var clock
var collision_flag
var is_playing_game
var screen
var screen_color
var sprites