Skip to content

Commit

Permalink
Optimize sprite dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
iqnite committed Jun 5, 2023
1 parent a3d2d56 commit d223cfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sprite.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Template for sprite items

import tkinter as tk
from tkinter import Canvas
from math import sqrt
from time import sleep


class Sprite:
def __init__(self, stage: tk.Canvas, x: int, y: int, costumes: list, start_health: float = 1):
def __init__(self, stage: Canvas, x: int, y: int, costumes: list, start_health: float = 1):
self.stage = stage
self.health = start_health
self.costumes = costumes
Expand Down

0 comments on commit d223cfc

Please sign in to comment.