View Javadoc
1 /* 2 * GameDAOImpl.java 3 * 4 * Created on February 11, 2003, 10:36 AM 5 */ 6 7 package com.mlw.fps.model.business.dao.memmory; 8 9 import com.mlw.fps.model.business.dao.RoundDAO; 10 import com.mlw.fps.model.business.vo.Round; 11 /*** 12 * 13 * @author Matthew Wilson 14 */ 15 public class RoundDAOImpl implements RoundDAO 16 { 17 18 /*** Creates a new instance of RoundDAOImpl 19 */ 20 public RoundDAOImpl() 21 { 22 } 23 24 public void insert(Round round) 25 { 26 if( round.getPk()==null) round.setPk(StaticData.instance().next()); 27 StaticData.instance().getRounds().put(round.getPk(),round); 28 StaticData.instance().getKills().addAll( round.getKills() ); 29 } 30 31 }

This page was automatically generated by Maven