public ProjectileDecorator(IProjectileLogic p) { ProjectileLogic = p; ProtoProjectile tmp = (ProtoProjectile)ProjectileLogic.getUpperMost(); Game = tmp.Game; Scene = tmp.Scene; Input = tmp.Input; Projectile = tmp.Projectile; }
public ProjectileDecorator(IProjectileLogic p) { ProjectileLogic = p; ProtoProjectile tmp = (ProtoProjectile) ProjectileLogic.getUpperMost(); Game = tmp.Game; Scene = tmp.Scene; Input = tmp.Input; Projectile = tmp.Projectile; }
public IProjectileLogic getUpperMost() { return(ProjectileLogic.getUpperMost()); }