Examples of blesser()


Examples of models.creatures.Creature.blesser()

               
                if(distanceImpact <= rayonImpact)
                {
                    // calcul des degats en fonction de la distance de l'impact
                    degatsFinal = (long) (degats - (distanceImpact / rayonImpact * degats));
                    tmpCreature.blesser(degatsFinal, attaquant.getPrioprietaire());
                   
                    a.add(tmpCreature);
                }
            }
        }
View Full Code Here

Examples of models.creatures.Creature.blesser()

                    creature = creatures.get(i);
                   
                    // blessures des créatures volantes en contact pas encore touchées
                    if(creature.getType() == Creature.TYPE_AERIENNE && !creaturesTouchees.contains(creature))
                    {
                        creature.blesser((long)(degats * alpha), attaquant.getPrioprietaire());
                        creaturesTouchees.add(creature);
                    }
                }
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.