This repository has been archived on 2025-02-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
citylimitsj/src/micropolisj/engine/SpriteKind.java
jason@long.name ed6795dfca Importing source code for MicropolisJ, the Java rewrite of Micropolis.
This edition of Micropolis, written for the Java desktop platform,
is fairly feature complete. I believe the only missing functionality
is that of loading the built-in scenarios, and this can be implemented
if there is any demand for it.

I will soon update the home page at http://code.google.com/p/micropolis/
with downloadable packages of this edition of the software.


git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@528 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-14 21:02:42 +00:00

33 lines
735 B
Java

// This file is part of MicropolisJ.
// Copyright (C) 2013 Jason Long
// Portions Copyright (C) 1989-2007 Electronic Arts Inc.
//
// MicropolisJ is free software; you can redistribute it and/or modify
// it under the terms of the GNU GPLv3, with additional terms.
// See the README file, included in this distribution, for details.
package micropolisj.engine;
/**
* Enumeration of the various kinds of sprites that may appear in the city.
*/
public enum SpriteKind
{
TRA(1,5),
COP(2,8),
AIR(3,11),
SHI(4,8),
GOD(5,16),
TOR(6,3),
EXP(7,6),
BUS(8,4);
public final int objectId;
public final int numFrames;
private SpriteKind(int objectId, int numFrames)
{
this.objectId = objectId;
this.numFrames = numFrames;
}
}