public GameEffect(GameWorld pGameWorld, string type, float pXPos, float pYPos) { aaGameWorld = pGameWorld; mType = type; AssignDisplayObject(); mDispObj = new DisplayObject_Animated(aaGameWorld.aaDisplay, mKit.ASSET_NAME, pXPos, pYPos, (int)mKit.ORIGIN.X, (int)mKit.ORIGIN.Y, 0.1f, mKit.SRC_RECTX, mKit.SRC_RECTY, mKit.SRC_RECTWIDTH, mKit.SRC_RECTHEIGHT, Constants.LAYER_PROJECTILE_DEPTH, false); //mDispObj.Hide(); }
public GameEffect(GameWorld pGameWorld, string type, float pXPos, float pYPos) { aaGameWorld = pGameWorld; mType = type; AssignDisplayObject(); mDispObj = new DisplayObject_Animated(aaGameWorld.aaDisplay, mKit.ASSET_NAME, pXPos, pYPos, (int)mKit.ORIGIN.X, (int)mKit.ORIGIN.Y, 0.1f, mKit.SRC_RECTX, mKit.SRC_RECTY, mKit.SRC_RECTWIDTH, mKit.SRC_RECTHEIGHT, Constants.LAYER_PROJECTILE_DEPTH, false); //mDispObj.Hide(); }