MXVK Vulkan Framework 0.35.0
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
asteroids.Ship Class Reference

Static Public Attributes

float angle = 0.0
int burst_count = 0
int continuous_fire_timer = 0
bool exploding = False
int explosion_timer = 0
int fire_cooldown = 0
int lives = 3
int overheat_cooldown = 0
bool overheated = False
int score = 0
float vx = 0.0
float vy = 0.0
float x = GAME_W / 2
float y = GAME_H / 2

Detailed Description

Definition at line 59 of file asteroids.py.

Member Data Documentation

◆ angle

float asteroids.Ship.angle = 0.0
static

Definition at line 64 of file asteroids.py.

◆ burst_count

int asteroids.Ship.burst_count = 0
static

Definition at line 67 of file asteroids.py.

◆ continuous_fire_timer

int asteroids.Ship.continuous_fire_timer = 0
static

Definition at line 71 of file asteroids.py.

◆ exploding

bool asteroids.Ship.exploding = False
static

Definition at line 68 of file asteroids.py.

◆ explosion_timer

int asteroids.Ship.explosion_timer = 0
static

Definition at line 69 of file asteroids.py.

◆ fire_cooldown

int asteroids.Ship.fire_cooldown = 0
static

Definition at line 66 of file asteroids.py.

◆ lives

int asteroids.Ship.lives = 3
static

Definition at line 65 of file asteroids.py.

◆ overheat_cooldown

int asteroids.Ship.overheat_cooldown = 0
static

Definition at line 73 of file asteroids.py.

◆ overheated

bool asteroids.Ship.overheated = False
static

Definition at line 72 of file asteroids.py.

◆ score

int asteroids.Ship.score = 0
static

Definition at line 70 of file asteroids.py.

◆ vx

float asteroids.Ship.vx = 0.0
static

Definition at line 62 of file asteroids.py.

◆ vy

float asteroids.Ship.vy = 0.0
static

Definition at line 63 of file asteroids.py.

◆ x

float asteroids.Ship.x = GAME_W / 2
static

Definition at line 60 of file asteroids.py.

◆ y

float asteroids.Ship.y = GAME_H / 2
static

Definition at line 61 of file asteroids.py.


The documentation for this class was generated from the following file: