Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix a few typos #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/states/death.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def make_message_box(self):

def make_state_dict(self):
"""
Make the dicitonary of state methods for the scene.
Make the dictionary of state methods for the scene.
"""
state_dict = {c.TRANSITION_IN: self.transition_in,
c.TRANSITION_OUT: self.transition_out,
Expand Down
2 changes: 1 addition & 1 deletion data/states/levels.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def check_for_menu(self, keys):

def update_game_data(self):
"""
Update the persistant game data dictionary.
Update the persistent game data dictionary.
"""
self.game_data['last location'] = self.player.location
self.game_data['last direction'] = self.player.direction
Expand Down
2 changes: 1 addition & 1 deletion data/states/main_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def notify(self, event):
def set_next_scene(self):
"""
Check if there is a saved game. If not, start
game at begining. Otherwise go to load game scene.
game at beginning. Otherwise go to load game scene.
"""
if not os.path.isfile("save.p"):
next_scene = c.OVERWORLD
Expand Down
2 changes: 1 addition & 1 deletion data/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def notify_observers(self, event):
each_observer.on_notify(event)

def create_game_data_dict():
"""Create a dictionary of persistant values the player
"""Create a dictionary of persistent values the player
carries between states"""

player_items = {'GOLD': dict([('quantity',100),
Expand Down