1
0
Fork 0
auts/bit_source.v

23 lines
256 B
Coq
Raw Normal View History

2020-04-30 14:02:14 +02:00
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) {
}