MCPcopy Create free account
hub / github.com/SimHacker/micropolis / makeShipHere

Method makeShipHere

MicropolisCore/src/MicropolisEngine/src/sprite.cpp:1900–1903  ·  view source on GitHub ↗

* Start a new ship sprite at the given map tile. * @param x X coordinate in map coordinate. * @param y Y coordinate in map coordinate. */

Source from the content-addressed store, hash-verified

1898 * @param y Y coordinate in map coordinate.
1899 */
1900void Micropolis::makeShipHere(int x, int y)
1901{
1902 makeSprite(SPRITE_SHIP, (x <<4) - (48 - 1), (y <<4));
1903}
1904
1905
1906/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected