Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PO-Flying-SkyCreature.swift
protocol Flying {
func fly()
}
extension Flying {
func fly() {
print("🛩️")
}
}
class SkyCreature: Creature, Flying {
func fight() {
print(„🏹")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment