(o Identifier)
| 80 | sys.entities = append(sys.entities, MySystemOneTwoEntity{e, c1, c2}) |
| 81 | } |
| 82 | func (sys *MySystemOneTwo) AddByInterface(o Identifier) { |
| 83 | obj := o.(MySystemOneTwoable) |
| 84 | sys.Add(obj.GetBasicEntity(), obj.GetMyComponent1(), obj.GetMyComponent2()) |
| 85 | } |
| 86 | |
| 87 | type MySystemTwoEntity struct { |
| 88 | e *BasicEntity |
nothing calls this directly
no test coverage detected