1
0
Fork 0
auts/bit_source.v

23 lines
256 B
V

module main
// World bit source (emits bits)
struct BitSource {
mut:
pos WorldPos
elem_type ElemType
rate f32
active bool
}
fn new_bit_source() &BitSource {
bs := &BitSource{
active: true,
}
return bs
}
fn (bs &BitSource) update(dt f32) {
}