// Path: core/src/me/minidigger/projecttd/entities/Minion.java
// public class Minion {
// 
//     public static PooledEngine ENGINE;
//     public static Sprite SPRITE;
// 
//     public static Entity newMinion(Vector2 spawn) {
//         Entity entity = ENGINE.createEntity();
// 
//         SpriteComponent spriteComponent = ENGINE.createComponent(SpriteComponent.class);
//         spriteComponent.sprite = SPRITE;
//         entity.add(spriteComponent);
// 
//         VelocityComponent velocityComponent = ENGINE.createComponent(VelocityComponent.class);
//         entity.add(velocityComponent);
// 
//         TransformComponent transformComponent = ENGINE.createComponent(TransformComponent.class);
//         transformComponent.position = spawn;
//         entity.add(transformComponent);
// 
//         HealthComponent healthComponent = ENGINE.createComponent(HealthComponent.class);
//         healthComponent.health = 100;
//         entity.add(healthComponent);
// 
//         PathComponent pathComponent = ENGINE.createComponent(PathComponent.class);
//         entity.add(pathComponent);
// 
//         MinionComponent minionComponent = ENGINE.createComponent(MinionComponent.class);
//         entity.add(minionComponent);
// 
//         ENGINE.addEntity(entity);
//         return entity;
//     }
// 
//     public enum MinionType{
//         LAND,
//         WATER,
//         AIR;
//     }
// }


import com.badlogic.ashley.core.Component;
import com.badlogic.gdx.utils.Pool;
import me.minidigger.projecttd.entities.Minion;
package me.minidigger.projecttd.components;


/**
 * Created by Martin on 01/05/2017.
 */
public class MinionComponent implements Component, Pool.Poolable {

    public int money = 1;
    public float speed = 1f;
// Path: core/src/me/minidigger/projecttd/entities/Minion.java
// public class Minion {
// 
//     public static PooledEngine ENGINE;
//     public static Sprite SPRITE;
// 
//     public static Entity newMinion(Vector2 spawn) {
//         Entity entity = ENGINE.createEntity();
// 
//         SpriteComponent spriteComponent = ENGINE.createComponent(SpriteComponent.class);
//         spriteComponent.sprite = SPRITE;
//         entity.add(spriteComponent);
// 
//         VelocityComponent velocityComponent = ENGINE.createComponent(VelocityComponent.class);
//         entity.add(velocityComponent);
// 
//         TransformComponent transformComponent = ENGINE.createComponent(TransformComponent.class);
//         transformComponent.position = spawn;
//         entity.add(transformComponent);
// 
//         HealthComponent healthComponent = ENGINE.createComponent(HealthComponent.class);
//         healthComponent.health = 100;
//         entity.add(healthComponent);
// 
//         PathComponent pathComponent = ENGINE.createComponent(PathComponent.class);
//         entity.add(pathComponent);
// 
//         MinionComponent minionComponent = ENGINE.createComponent(MinionComponent.class);
//         entity.add(minionComponent);
// 
//         ENGINE.addEntity(entity);
//         return entity;
//     }
// 
//     public enum MinionType{
//         LAND,
//         WATER,
//         AIR;
//     }
// }


// Path: core/src/me/minidigger/projecttd/components/MinionComponent.java
import com.badlogic.ashley.core.Component;
import com.badlogic.gdx.utils.Pool;
import me.minidigger.projecttd.entities.Minion;

package me.minidigger.projecttd.components;


/**
 * Created by Martin on 01/05/2017.
 */
public class MinionComponent implements Component, Pool.Poolable {

    public int money = 1;
    public float speed = 1f;
    public Minion.MinionType type = Minion.MinionType.LAND;