net.curre.prefcount.service
Class ResultService

java.lang.Object
  extended by net.curre.prefcount.service.ResultService

public class ResultService
extends java.lang.Object

This service bean is responsible for computing game results.

Created date: Jul 29, 2007

Author:
Yevgeny Nyden

Constructor Summary
ResultService()
           
 
Method Summary
static void clearFinalResults(GameResultBean rBean)
          Clears the final player scores.
static void generateFinalResults(GameResultBean rBean)
          Generates the final player scores.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultService

public ResultService()
Method Detail

generateFinalResults

public static void generateFinalResults(GameResultBean rBean)
Generates the final player scores. Note that the target bullet must be set to a valid (positive) value.

Parameters:
rBean - GameResultBean object that contains all necessary game data.

clearFinalResults

public static void clearFinalResults(GameResultBean rBean)
Clears the final player scores.

Parameters:
rBean - GameResultBean object that contains all necessary game data.


Copyright © 2008. All Rights Reserved.