Created
November 30, 2020 03:30
-
-
Save larson-carter/08dafbfd1088758ce0df33aec98dfee7 to your computer and use it in GitHub Desktop.
Beep Class. - Works to my Knowledge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Beep.swift | |
// RPG GAME | |
// | |
// Created by Larson Carter on 11/28/20. | |
// | |
import Foundation | |
class Beep { | |
func getName() -> String { | |
return "Beep" | |
} | |
func getAttackMove() -> String { | |
return "Shoot CD" | |
} | |
func getAttackDamage() -> Double { | |
return 10.0 | |
} | |
func getTotalHealth() -> Int { | |
return 30 | |
} | |
func getCurrentHealth() -> Double { | |
return 30.0 | |
} | |
func getAttackWeapon() -> String { | |
return "CD-ROM Drive" | |
} | |
func getDefenseTool() -> String { | |
return "Surge Protector" | |
} | |
func getSpecies() -> String { | |
return "PC" | |
} | |
func getSize() -> String { | |
return "Large" | |
} | |
func getNickname() -> String { | |
return "Boopify" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment