17 lines
292 B
Julia
17 lines
292 B
Julia
|
#!/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")
|