Methapolis
0.27
Main Page
Packages
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Enumerator
SpriteKind.java
Go to the documentation of this file.
1
// This file is part of MicropolisJ.
2
// Copyright (C) 2013 Jason Long
3
// Portions Copyright (C) 1989-2007 Electronic Arts Inc.
4
//
5
// MicropolisJ is free software; you can redistribute it and/or modify
6
// it under the terms of the GNU GPLv3, with additional terms.
7
// See the README file, included in this distribution, for details.
8
9
package
micropolisj.engine;
10
11
import
java.io.Serializable;
12
16
public
enum
SpriteKind
implements Serializable
17
{
18
TRA
(1,5),
19
COP
(2,8),
20
AIR
(3,11),
21
SHI
(4,8),
22
GOD
(5,16),
23
TOR
(6,3),
24
EXP
(7,6),
25
BUS
(8,4),
26
ROC
(9,11),
27
SPACESHIP
(10, 1);
28
29
public
final
int
objectId
;
30
public
final
int
numFrames
;
31
32
private
SpriteKind
(
int
objectId,
int
numFrames)
33
{
34
this.objectId = objectId;
35
this.numFrames = numFrames;
36
}
37
}
src
micropolisj
engine
SpriteKind.java
Generated on Thu Mar 27 2014 18:07:30 for Methapolis by
1.8.1.2