// Path: core/src/com/ychstudio/components/MovementComponent.java
// public class MovementComponent implements Component {
// 
//     public float speed = 3.6f;
//     public Body body;
// 
//     public MovementComponent(Body body) {
//         this.body = body;
//     }
// }
// 
// Path: core/src/com/ychstudio/components/TransformComponent.java
// public class TransformComponent implements Component {
//    
//     public Vector2 pos = new Vector2();
//     public Vector2 scale = new Vector2(1, 1);
//     
//     public int zIndex;
//     
//     public float rotation = 0;
//     
//     public TransformComponent(float x, float y) {
//         this(x, y, 0);
//     }
//     
//     public TransformComponent(float x, float y, int zIndex) {
//         this(x, y, zIndex, 1.0f, 1.0f, 0);
//     }
// 
//     public TransformComponent(float x, float y, int zIndex, float sclX, float sclY, float rotation) {
//         pos.set(x, y);
//         this.zIndex = zIndex;
//         scale.set(sclX, sclY);
//         this.rotation = rotation;
//     }
//     
//     public TransformComponent(Vector2 pos, Vector2 scl, float rotation) {
//         this.pos.set(pos);
//         this.scale.set(scl);
//         this.rotation = rotation;
//     }
// }


import com.badlogic.ashley.core.ComponentMapper;
import com.badlogic.ashley.core.Entity;
import com.badlogic.ashley.core.Family;
import com.badlogic.ashley.systems.IteratingSystem;
import com.ychstudio.components.MovementComponent;
import com.ychstudio.components.TransformComponent;
package com.ychstudio.systems;


public class MovementSystem extends IteratingSystem {

    private ComponentMapper<MovementComponent> movementM = ComponentMapper.getFor(MovementComponent.class);
// Path: core/src/com/ychstudio/components/MovementComponent.java
// public class MovementComponent implements Component {
// 
//     public float speed = 3.6f;
//     public Body body;
// 
//     public MovementComponent(Body body) {
//         this.body = body;
//     }
// }
// 
// Path: core/src/com/ychstudio/components/TransformComponent.java
// public class TransformComponent implements Component {
//    
//     public Vector2 pos = new Vector2();
//     public Vector2 scale = new Vector2(1, 1);
//     
//     public int zIndex;
//     
//     public float rotation = 0;
//     
//     public TransformComponent(float x, float y) {
//         this(x, y, 0);
//     }
//     
//     public TransformComponent(float x, float y, int zIndex) {
//         this(x, y, zIndex, 1.0f, 1.0f, 0);
//     }
// 
//     public TransformComponent(float x, float y, int zIndex, float sclX, float sclY, float rotation) {
//         pos.set(x, y);
//         this.zIndex = zIndex;
//         scale.set(sclX, sclY);
//         this.rotation = rotation;
//     }
//     
//     public TransformComponent(Vector2 pos, Vector2 scl, float rotation) {
//         this.pos.set(pos);
//         this.scale.set(scl);
//         this.rotation = rotation;
//     }
// }


// Path: core/src/com/ychstudio/systems/MovementSystem.java
import com.badlogic.ashley.core.ComponentMapper;
import com.badlogic.ashley.core.Entity;
import com.badlogic.ashley.core.Family;
import com.badlogic.ashley.systems.IteratingSystem;
import com.ychstudio.components.MovementComponent;
import com.ychstudio.components.TransformComponent;

package com.ychstudio.systems;


public class MovementSystem extends IteratingSystem {

    private ComponentMapper<MovementComponent> movementM = ComponentMapper.getFor(MovementComponent.class);
    private ComponentMapper<TransformComponent> transformM = ComponentMapper.getFor(TransformComponent.class);