Skip to content

Commit

Permalink
Update names of some files.
Browse files Browse the repository at this point in the history
  • Loading branch information
pvcraven committed Dec 23, 2020
1 parent 460e23a commit aeec04f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from constants import SPRITE_SIZE


class Character(arcade.Sprite):
class CharacterSprite(arcade.Sprite):
def __init__(self, sheet_name):
super().__init__()
self.textures = arcade.load_spritesheet(sheet_name,
Expand Down
6 changes: 3 additions & 3 deletions src/python_arcade_rpg/game_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

from constants import *

from game_map import load_maps
from character import Character
from load_game_map import load_maps
from character_sprite import CharacterSprite

class GameView(arcade.View):
"""
Expand Down Expand Up @@ -68,7 +68,7 @@ def setup(self):
""" Set up the game variables. Call to re-start the game. """

# Create the player character
self.player_sprite = Character("characters/Female/Female 18-4.png")
self.player_sprite = CharacterSprite("characters/Female/Female 18-4.png")

# Spawn the player
start_x = STARTING_X
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/python_arcade_rpg/loading_view.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import arcade
from game_map import load_maps
from load_game_map import load_maps
from game_view import GameView
from draw_bar import draw_bar

Expand Down

0 comments on commit aeec04f

Please sign in to comment.