Esempio n. 1
0
        public override string ToString()
        {
            string str = ">SP_PHASER< " + PlayerId.GetPlayerLetter(pnum) + "'s phaser: [" + Status + "]";

            if (Status != PhaserStatus.Free)
            {
                str += " - Dir: " + dir + ", Location: " + X + ", " + Y + ", target: " + target;
            }
            return(str);
        }
Esempio n. 2
0
 public override string ToString()
 {
     return(">SP_PSTATUS< Slot " + PlayerId.GetPlayerLetter(pnum) + " - status: " + Status);
 }
Esempio n. 3
0
        public Int32 kills;     /* where 1234=12.34 kills and 0=0.00 kills */

        public override string ToString()
        {
            return(">SP_KILLS< Slot " + PlayerId.GetPlayerLetter(pnum) + " - kills: " + Kills);
            //+ " - kills2: " + System.Net./*IPAddress.NetworkToHostOrder*/(kills)
            //+ " - kills3: " + System.Net.IPAddress.HostToNetworkOrder(kills);
        }
Esempio n. 4
0
 public override string ToString()
 {
     return(">SP_PLAYER_INFO< " + this.Team().ToInitial() + PlayerId.GetPlayerLetter(pnum) + ": " + this.ShipType().ToString());
 }