View Javadoc
1 /* 2 * KillPlayer.java 3 * 4 * Created on April 23, 2003, 11:15 PM 5 */ 6 7 package com.mlw.fps.model.business.vo; 8 9 /*** 10 * 11 * @author Matthew Wilson 12 */ 13 public class KillPlayer 14 { 15 /*** Holds value of property player. */ 16 private Player player; 17 /*** Holds value of property role. */ 18 private KillRole role; 19 20 /*** Creates a new instance of KillPlayer */ 21 public KillPlayer() 22 { 23 } 24 /*** Creates a new instance of KillPlayer */ 25 public KillPlayer(Player player, KillRole role) 26 { 27 this.role = role; 28 this.player = player; 29 } 30 31 /*** Getter for property player. 32 * @return Value of property player. 33 */ 34 public Player getPlayer() 35 { 36 return this.player; 37 } 38 39 /*** Setter for property player. 40 * @param player New value of property player. 41 */ 42 private void setPlayer(Player player) 43 { 44 this.player = player; 45 } 46 47 /*** Getter for property role. 48 * @return Value of property role. 49 */ 50 public KillRole getRole() 51 { 52 return this.role; 53 } 54 55 /*** Setter for property role. 56 * @param role New value of property role. 57 */ 58 private void setRole(KillRole role) 59 { 60 this.role = role; 61 } 62 63 }

This page was automatically generated by Maven