package com.spaceproject.utility;

import com.badlogic.ashley.core.ComponentMapper;
import com.spaceproject.components.AIComponent;
import com.spaceproject.components.AstronomicalComponent;
import com.spaceproject.components.CannonComponent;
import com.spaceproject.components.CharacterComponent;
import com.spaceproject.components.ControllableComponent;
import com.spaceproject.components.DamageComponent;
import com.spaceproject.components.DodgeComponent;
import com.spaceproject.components.ExpireComponent;
import com.spaceproject.components.GrowCannonComponent;
import com.spaceproject.components.HealthComponent;
import com.spaceproject.components.HyperDriveComponent;
import com.spaceproject.components.MapComponent;
import com.spaceproject.components.OrbitComponent;
import com.spaceproject.components.PhysicsComponent;
import com.spaceproject.components.PlanetComponent;
import com.spaceproject.components.ScreenTransitionComponent;
import com.spaceproject.components.SeedComponent;
import com.spaceproject.components.ShieldComponent;
import com.spaceproject.components.AISpawnComponent;
import com.spaceproject.components.Sprite3DComponent;
import com.spaceproject.components.TextureComponent;
import com.spaceproject.components.TransformComponent;
import com.spaceproject.components.VehicleComponent;

public class Mappers {
    
    public static final ComponentMapper<AIComponent> AI = ComponentMapper.getFor(AIComponent.class);
    public static final ComponentMapper<AstronomicalComponent> astro = ComponentMapper.getFor(AstronomicalComponent.class);
    public static final ComponentMapper<PhysicsComponent> physics = ComponentMapper.getFor(PhysicsComponent.class);
    public static final ComponentMapper<CannonComponent> cannon = ComponentMapper.getFor(CannonComponent.class);
    public static final ComponentMapper<GrowCannonComponent> growCannon = ComponentMapper.getFor(GrowCannonComponent.class);
    public static final ComponentMapper<CharacterComponent> character = ComponentMapper.getFor(CharacterComponent.class);
    public static final ComponentMapper<ControllableComponent> controllable = ComponentMapper.getFor(ControllableComponent.class);
    public static final ComponentMapper<DodgeComponent> dodge = ComponentMapper.getFor(DodgeComponent.class);
    public static final ComponentMapper<ExpireComponent> expire = ComponentMapper.getFor(ExpireComponent.class);
    public static final ComponentMapper<HealthComponent> health = ComponentMapper.getFor(HealthComponent.class);
    public static final ComponentMapper<HyperDriveComponent> hyper = ComponentMapper.getFor(HyperDriveComponent.class);
    public static final ComponentMapper<MapComponent> map = ComponentMapper.getFor(MapComponent.class);
    public static final ComponentMapper<DamageComponent> damage = ComponentMapper.getFor(DamageComponent.class);
    public static final ComponentMapper<OrbitComponent> orbit = ComponentMapper.getFor(OrbitComponent.class);
    public static final ComponentMapper<PlanetComponent> planet = ComponentMapper.getFor(PlanetComponent.class);
    public static final ComponentMapper<ScreenTransitionComponent> screenTrans = ComponentMapper.getFor(ScreenTransitionComponent.class);
    public static final ComponentMapper<SeedComponent> seed = ComponentMapper.getFor(SeedComponent.class);
    public static final ComponentMapper<ShieldComponent> shield = ComponentMapper.getFor(ShieldComponent.class);
    public static final ComponentMapper<AISpawnComponent> spawn = ComponentMapper.getFor(AISpawnComponent.class);
    public static final ComponentMapper<Sprite3DComponent> sprite3D = ComponentMapper.getFor(Sprite3DComponent.class);
    public static final ComponentMapper<TextureComponent> texture = ComponentMapper.getFor(TextureComponent.class);
    public static final ComponentMapper<TransformComponent> transform = ComponentMapper.getFor(TransformComponent.class);
    public static final ComponentMapper<VehicleComponent> vehicle = ComponentMapper.getFor(VehicleComponent.class);
    
}

@@ -1475,27 +1475,22 @@
 Mapper%3CA
-stronomical
+ISpawn
 Componen
@@ -1496,13 +1496,13 @@
 nt%3E 
-astro
+spawn
  = C
@@ -1524,27 +1524,22 @@
 getFor(A
-stronomical
+ISpawn
 Componen
@@ -1592,130 +1592,20 @@
 per%3C
-PhysicsComponent%3E physics = ComponentMapper.getFor(PhysicsComponent.class);%0A    public static final ComponentMapper%3CCannon
+Astronomical
 Comp
@@ -1615,14 +1615,13 @@
 nt%3E 
-cannon
+astro
  = C
@@ -1642,22 +1642,28 @@
 .getFor(
-Cannon
+Astronomical
 Componen
@@ -1712,20 +1712,16 @@
 tMapper%3C
-Grow
 CannonCo
@@ -1733,13 +1733,9 @@
 nt%3E 
-growC
+c
 anno
@@ -1761,20 +1761,16 @@
 .getFor(
-Grow
 CannonCo
@@ -2030,32 +2030,145 @@
 mponent.class);%0A
+    public static final ComponentMapper%3CDamageComponent%3E damage = ComponentMapper.getFor(DamageComponent.class);%0A
     public stati
@@ -2366,32 +2366,157 @@
 mponent.class);%0A
+    public static final ComponentMapper%3CGrowCannonComponent%3E growCannon = ComponentMapper.getFor(GrowCannonComponent.class);%0A
     public stati
@@ -2868,38 +2868,37 @@
 ComponentMapper%3C
-Damage
+Orbit
 Component%3E damag
@@ -2884,38 +2884,37 @@
 OrbitComponent%3E 
-damage
+orbit
  = ComponentMapp
@@ -2915,38 +2915,37 @@
 ntMapper.getFor(
-Damage
+Orbit
 Component.class)
@@ -2978,37 +2978,39 @@
 ComponentMapper%3C
-Orbit
+Physics
 Component%3E orbit
@@ -2996,37 +2996,39 @@
 ysicsComponent%3E 
-orbit
+physics
  = ComponentMapp
@@ -3029,37 +3029,39 @@
 ntMapper.getFor(
-Orbit
+Physics
 Component.class)
@@ -3537,122 +3537,8 @@
 s);%0A
-    public static final ComponentMapper%3CAISpawnComponent%3E spawn = ComponentMapper.getFor(AISpawnComponent.class);%0A
     

Update Mappers.java