(dt float32)
| 24 | func (*MySystemOne) Priority() int { return 0 } |
| 25 | func (*MySystemOne) New(*World) {} |
| 26 | func (sys *MySystemOne) Update(dt float32) { |
| 27 | for _, e := range sys.entities { |
| 28 | e.c1.A++ |
| 29 | } |
| 30 | } |
| 31 | func (*MySystemOne) Remove(e BasicEntity) {} |
| 32 | func (sys *MySystemOne) Add(e *BasicEntity, c1 *MyComponent1) { |
| 33 | sys.entities = append(sys.entities, MySystemOneEntity{e, c1}) |
no outgoing calls
no test coverage detected