Beramos / DS-Julia2925

Julia2925: learn a fast and intuitive programming language in two workdays.
https://beramos.github.io/DS-Julia2925
BSD 3-Clause "New" or "Revised" License
16 stars 8 forks source link

02_composite_types #181

Open DaanVanHauwermeiren opened 7 months ago

DaanVanHauwermeiren commented 7 months ago
mutable struct Predator <: Agent
    id::Int
    pos
    size::Float64
end

should we define the type of pos here?