Lines Matching refs:mShips
64 private final SparseArray<Ship> mShips; field in GameView
87 mShips = new SparseArray<Ship>(); in GameView()
187 int numShips = mShips.size(); in onWindowFocusChanged()
189 Ship currentShip = mShips.valueAt(i); in onWindowFocusChanged()
217 int numShips = mShips.size(); in onDraw()
219 Ship currentShip = mShips.valueAt(i); in onDraw()
251 Ship currentShip = mShips.get(shipID); in getShipForId()
269 int numShips = mShips.size(); in getShipForId()
272 if (mShips.valueAt(i).getColor() == color) { in getShipForId()
289 mShips.append(shipID, currentShip); in getShipForId()
305 mShips.remove(shipID); in removeShipForID()
309 mShips.clear(); in reset()
326 int numShips = mShips.size(); in step()
328 Ship currentShip = mShips.valueAt(i); in step()
377 Ship currentShip = mShips.valueAt(j); in step()
420 Ship currentShip = mShips.valueAt(i); in step()