Ejemplo n.º 1
0
 public static FireProjectileAction CreateSmallGatlingAction(string actorId, EncounterPosition targetPosition)
 {
     return(new FireProjectileAction(
                actorId,
                ProjectileType.SMALL_GATLING,
                power: 2,
                (sourcePos) => EncounterPathBuilder.BuildStraightLinePath(sourcePos, targetPosition, maxSteps: 25),
                speed: 50
                ));
 }
Ejemplo n.º 2
0
 public static FireProjectileAction CreateCuttingLaserAction(string playerId, int playerPower, EncounterPosition targetPosition)
 {
     return(new FireProjectileAction(
                playerId,
                ProjectileType.CUTTING_LASER,
                power: playerPower,
                (sourcePos) => EncounterPathBuilder.BuildStraightLinePath(sourcePos, targetPosition, endsAtTarget: true),
                speed: 0
                ));
 }
Ejemplo n.º 3
0
 private static FireProjectileAction CreateSmallShotgunAction(string actorId, EncounterPosition targetPosition)
 {
     return(new FireProjectileAction(
                actorId,
                ProjectileType.SMALL_SHOTGUN,
                power: 1,
                (sourcePos) => EncounterPathBuilder.BuildStraightLinePath(sourcePos, targetPosition, maxSteps: 25),
                speed: 25
                ));
 }
Ejemplo n.º 4
0
 public static FireProjectileAction CreateRailgunAction(string actorId, EncounterPosition targetPosition)
 {
     return(new FireProjectileAction(
                actorId,
                ProjectileType.RAILGUN,
                power: 15,
                (sourcePos) => EncounterPathBuilder.BuildStraightLinePath(sourcePos, targetPosition, maxSteps: 40),
                speed: 20
                ));
 }