3 MCVs
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1192 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user