old_gravity/visual.py

14 lines
322 B
Python
Executable File

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jan 28 10:54:33 2020
@author: suwako
"""
import mecha
class Player():
def __init__(self):
self.mass = mecha.Mass()
self.image = pygame.image.load("assets/ship.gif").convert_alpha()
self.position = self.image.get_rect()