(e *BasicEntity, c1 *MyComponent1)
| 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}) |
| 34 | } |
| 35 | func (sys *MySystemOne) AddByInterface(o Identifier) { |
| 36 | obj := o.(MySystemOneable) |
| 37 | sys.Add(obj.GetBasicEntity(), obj.GetMyComponent1()) |
no outgoing calls
no test coverage detected