Commit d005445f authored by Louis Soto's avatar Louis Soto
Browse files

levels

parent 090f728c
......@@ -6,8 +6,8 @@ type Score struct {
RequiredFishType int
}
func NewScore(level int, requiredFishType int) *Score {
return &Score{level, 0, requiredFishType}
func NewScore(level int, currentScore int, requiredFishType int) *Score {
return &Score{level, currentScore, requiredFishType}
}
func (s *Score) AddCollectedFish(fishType int) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment