Exemplo n.º 1
0
 public void Post <T>(T msg) where T : IEntityMessage
 {
     _messageReceivers.Run(
         del => {
         (del as IReceive <T>)?.Handle(msg);
     });
 }
Exemplo n.º 2
0
 public void OnSystemUpdate(float dt, float unscaledDt)
 {
     _colorList.Run(UpdateSprite);
 }
Exemplo n.º 3
0
 public static void UpdateAllLists()
 {
     _allLists.Update();
     _allLists.Run(_del);
 }
Exemplo n.º 4
0
 public void HandleGlobal(BufferedList <SetLocalTransformRotation> arg)
 {
     arg.Run(_setLocalRotDel);
 }
Exemplo n.º 5
0
 public void HandleGlobal(BufferedList <SetLocalTransformPosition> arg)
 {
     arg.Run(_setLocalMoveDel);
 }
Exemplo n.º 6
0
 public void HandleGlobal(BufferedList <MoveTransform> arg)
 {
     arg.Run(_moveDel);
 }
 public void OnSystemUpdate(float dt, float unscaledDt)
 {
     _commands.Run(_del);
 }
Exemplo n.º 8
0
 public void HandleGlobal(BufferedList <SetLocalTransformRotation> arg)
 {
     arg.Run(RunUpdate);
 }
Exemplo n.º 9
0
 public void HandleGlobal(BufferedList <SetTransformPosition> arg)
 {
     arg.Run(RunUpdate);
 }
Exemplo n.º 10
0
 public void HandleGlobal(BufferedList <MoveTransform> arg)
 {
     arg.Run(RunUpdate);
 }
Exemplo n.º 11
0
 public void OnSystemUpdate(float dt, float unscaledDt)
 {
     _colorList.Run(_del);
 }