public void init(List<Player> players, ref CannonShot[] balls, ref ParticleManager pPManager) { ref_Balls = balls; ref_Players = players; ref_ParticleManager = pPManager; //Walls mLeftWall = new Rectangle(0, 177, 25, 474); mRightWall = new Rectangle(1255, 177, 25, 474); //Floors mRightFloor = new Rectangle(749, 643, 531, 87); mLeftFloor = new Rectangle(0, 643, 531, 87); //Net mNet = new Rectangle(614, 476, 52, 244); }
// ref_PlayerOne, // ref_PlayerTwo; public BallManager(List<Player> references, ref ParticleManager pPManager) { mCannonBalls = new CannonShot[MAX_BALLS]; ref_PLAYERS = references; ref_ParticleManager = pPManager; }