Created
November 26, 2013 13:55
-
-
Save nixsticks/7658618 to your computer and use it in GitHub Desktop.
This file contains 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
class Cylon | |
def initialize(parts) | |
@CPU = parts[:cpu] | |
@mcp_chip = parts[:MCP] | |
end | |
def thing_all_cylons_can_do | |
# hate humans or something. | |
end | |
def other_thing_all_cylons_do | |
end | |
end | |
class Raider < Cylon | |
def initialize(parts) | |
super | |
@raider_part = parts[:raider_part] | |
end | |
def fly | |
#raider starts flying | |
end | |
def fire_aerial_missiles | |
#POW! | |
end | |
end | |
class Centurion < Cylon | |
def initialize(parts) | |
super | |
@centurion_part = parts[:centurion_part] | |
end | |
def crush_skulls | |
# HULK SMASH... wait... wrong franchise | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment