Exemplo n.º 1
0
 public Player Copy()
 {
     return(new Player(Hitbox.Copy(), new Vector2(Velocity.X, Velocity.Y), new Texture2D[] { Frames[0], Frames[1] }, Origin, count, Offset, Rotation));
 }
Exemplo n.º 2
0
 public StaticEntity Copy()
 {
     return(new StaticEntity(Hitbox.Copy(), new Vector2(Velocity.X, Velocity.Y), Sprite, Origin, Offset));
 }
Exemplo n.º 3
0
 public DynamicEntity Copy()
 {
     return(new DynamicEntity(Hitbox.Copy(), new Vector2(Velocity.X, Velocity.Y), Frames, Origin, count, Offset));
 }