Skip to content
Merged
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
9 changes: 6 additions & 3 deletions src/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ class State(object):

def __init__(self, title, description, is_end):
self.assets = {}
self.title = title
self.description = description
self.end = is_end


def set_music(self, music):
Expand Down Expand Up @@ -36,12 +39,12 @@ def add_option(self, label, next_state, required, acquired):

def get_title(self):
"""Return the title"""
pass
return self.title


def get_description(self):
"""Return the description"""
pass
return self.description


def get_assets(self):
Expand All @@ -53,7 +56,7 @@ def get_assets(self):

def is_end(self):
"""Return true if it's an end state, false otherwise"""
pass
return self.end


def get_option_count(self):
Expand Down