Removed pointless class hierarchy

This commit is contained in:
Natty 2022-08-19 02:35:09 +02:00
parent 54ade78b1d
commit 29e9f42bde
No known key found for this signature in database
GPG Key ID: E2477561D4C45028
5 changed files with 3 additions and 74 deletions

View File

@ -30,7 +30,7 @@ import cz.tefek.srclone.EnumTeam;
import cz.tefek.srclone.SRCloneMod; import cz.tefek.srclone.SRCloneMod;
import cz.tefek.srclone.ammo.EnumAmmo; import cz.tefek.srclone.ammo.EnumAmmo;
public class EntityProjectileEnemyHeatStar extends EntityProjectileHeatStar public class EntityProjectileEnemyHeatStar extends EntityProjectileAmmo
{ {
public EntityProjectileEnemyHeatStar() public EntityProjectileEnemyHeatStar()
{ {

View File

@ -30,7 +30,7 @@ import cz.tefek.srclone.EnumTeam;
import cz.tefek.srclone.SRCloneMod; import cz.tefek.srclone.SRCloneMod;
import cz.tefek.srclone.ammo.EnumAmmo; import cz.tefek.srclone.ammo.EnumAmmo;
public class EntityProjectileEnemyLaserBeam extends EntityProjectileLaserBeam public class EntityProjectileEnemyLaserBeam extends EntityProjectileAmmo
{ {
public EntityProjectileEnemyLaserBeam() public EntityProjectileEnemyLaserBeam()
{ {

View File

@ -1,36 +0,0 @@
/*
* MIT License
*
* Copyright (c) 2022 493msi
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package cz.tefek.srclone.entity.projectile;
import cz.tefek.srclone.ammo.EnumAmmo;
public class EntityProjectileHeatStar extends EntityProjectileAmmo
{
protected EntityProjectileHeatStar(EnumAmmo ammo)
{
super(ammo);
}
}

View File

@ -1,35 +0,0 @@
/*
* MIT License
*
* Copyright (c) 2022 493msi
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package cz.tefek.srclone.entity.projectile;
import cz.tefek.srclone.ammo.EnumAmmo;
public class EntityProjectileLaserBeam extends EntityProjectileAmmo
{
protected EntityProjectileLaserBeam(EnumAmmo ammo)
{
super(ammo);
}
}

View File

@ -30,7 +30,7 @@ import cz.tefek.srclone.EnumTeam;
import cz.tefek.srclone.SRCloneMod; import cz.tefek.srclone.SRCloneMod;
import cz.tefek.srclone.ammo.EnumAmmo; import cz.tefek.srclone.ammo.EnumAmmo;
public class EntityProjectilePlayerLaserBeam extends EntityProjectileLaserBeam public class EntityProjectilePlayerLaserBeam extends EntityProjectileAmmo
{ {
public EntityProjectilePlayerLaserBeam() public EntityProjectilePlayerLaserBeam()
{ {