git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1192 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
chrisf
2007-07-13 09:39:33 +00:00
parent cb54dbf81b
commit 4975d808fa
2 changed files with 5 additions and 3 deletions

View File

@@ -73,7 +73,9 @@ namespace OpenRa.Game
UnitSheetBuilder.AddUnit("2tnk"); UnitSheetBuilder.AddUnit("2tnk");
UnitSheetBuilder.AddUnit("3tnk"); UnitSheetBuilder.AddUnit("3tnk");
world.Add(new Mcv(new PointF(24 * 5, 24 * 5))); world.Add(new Mcv(new PointF(24 * 5, 24 * 5), 3));
world.Add(new Mcv(new PointF(24 * 7, 24 * 5), 2));
world.Add(new Mcv(new PointF(24 * 9, 24 * 5), 1));
} }
void LoadVertexBuffer() void LoadVertexBuffer()

View File

@@ -8,10 +8,10 @@ namespace OpenRa.Game
{ {
class Mcv : Actor class Mcv : Actor
{ {
public Mcv( PointF location ) public Mcv( PointF location, int palette )
{ {
this.location = location; this.location = location;
this.palette = 3; this.palette = palette;
} }
int GetFacing() int GetFacing()