public override void CreateGameObject(ObjectCreationRequest request) { if (request.ObjectType == typeof(TestTank)) { var item = new TestTank(this.Bus) { Velocity = new Vector2(30, 30) }; this.GameObjects.Add(item); Bus.Add(new ObjectCreated(request.TimeSent, item)); } base.CreateGameObject(request); }
public virtual void CreateGameObject(ObjectCreationRequest request) { }