// Path: core/src/me/minidigger/projecttd/components/TransformComponent.java
// public class TransformComponent implements Component, Pool.Poolable {
// 
//     public Vector2 position;
//     public float rotation = 0f;
// 
//     @Override
//     public void reset() {
//         position = new Vector2();
//         rotation = 0f;
//     }
// }
// 
// Path: core/src/me/minidigger/projecttd/components/VelocityComponent.java
// public class VelocityComponent implements Component, Pool.Poolable {
// 
//     public Vector2 linear = new Vector2();
//     public float angular = 0f;
// 
//     @Override
//     public void reset() {
//         linear = new Vector2();
//         angular = 0f;
//     }
// }


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 me.minidigger.projecttd.components.TransformComponent;
import me.minidigger.projecttd.components.VelocityComponent;
package me.minidigger.projecttd.systems;



/**
 * Created by Martin on 02.04.2017.
 */
public class MovementSystem extends IteratingSystem {

    private ComponentMapper<TransformComponent> pm = ComponentMapper.getFor(TransformComponent.class);
    private ComponentMapper<VelocityComponent> vm = ComponentMapper.getFor(VelocityComponent.class);

    public MovementSystem() {
// Path: core/src/me/minidigger/projecttd/components/TransformComponent.java
// public class TransformComponent implements Component, Pool.Poolable {
// 
//     public Vector2 position;
//     public float rotation = 0f;
// 
//     @Override
//     public void reset() {
//         position = new Vector2();
//         rotation = 0f;
//     }
// }
// 
// Path: core/src/me/minidigger/projecttd/components/VelocityComponent.java
// public class VelocityComponent implements Component, Pool.Poolable {
// 
//     public Vector2 linear = new Vector2();
//     public float angular = 0f;
// 
//     @Override
//     public void reset() {
//         linear = new Vector2();
//         angular = 0f;
//     }
// }


// Path: core/src/me/minidigger/projecttd/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 me.minidigger.projecttd.components.TransformComponent;
import me.minidigger.projecttd.components.VelocityComponent;

package me.minidigger.projecttd.systems;



/**
 * Created by Martin on 02.04.2017.
 */
public class MovementSystem extends IteratingSystem {

    private ComponentMapper<TransformComponent> pm = ComponentMapper.getFor(TransformComponent.class);
    private ComponentMapper<VelocityComponent> vm = ComponentMapper.getFor(VelocityComponent.class);

    public MovementSystem() {
        super(Family.all(TransformComponent.class, VelocityComponent.class).get());