/// <summary> /// /// </summary> /// <param name="_gameWorld"></param> public TiledLayer(GameWorld _gameWorld) { gameWorld = _gameWorld; game = gameWorld.getGame(); }
/// <summary> /// Constructor /// </summary> /// <param name="gw"></param> /// <param name="_side"></param> public WorldEdge(GameWorld gw, SIDE _side) : base(gw, null) { side = _side; }
/// <summary> /// Constructor /// </summary> /// <param name="gw">Gameworld reference</param> /// <param name="et">EntityType</param> /// <param name="_lifeTime">Lifetime. (Not Implemented)</param> /// <param name="_passOnCollision">Event to pass on collision.</param> public Projectile(GameWorld gw, EntityType et, int _lifeTime, Event _passOnCollision) : base(gw, et) { passOnCollision = _passOnCollision; lifeTime = _lifeTime; }