17 lines
292 B
Julia
Executable File
17 lines
292 B
Julia
Executable File
#!/usr/bin/julia
|
|
|
|
include("player.jl")
|
|
|
|
function take_off(playerName, shipName)
|
|
|
|
local p = Pilot()
|
|
local s = Ship()
|
|
local p.Name = playerName
|
|
local s.Name = shipName
|
|
|
|
print(p.Name, " starts the ship and takes off in ", s.Name, "!\n")
|
|
|
|
|
|
end
|
|
|
|
take_off("Jerry", "Falcon") |