本文整理汇总了C#中LKCamelot.model.Point2D类的典型用法代码示例。如果您正苦于以下问题:C# Point2D类的具体用法?C# Point2D怎么用?C# Point2D使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Point2D类属于LKCamelot.model命名空间,在下文中一共展示了Point2D类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InnerMap
public InnerMap(string Map, string Dest, Point2D ArriveLoc, List<Point2D> Locs)
{
this.Map = Map;
this.Dest = Dest;
this.Locs = Locs;
this.ArriveLoc = ArriveLoc;
}
示例2: CreateMagicEffect
public void CreateMagicEffect(Point2D target, string map, byte sprite, int time = 1500)
{
int mobile = Serial.NewMobile;
World.SendToAll(new QueDele(map, new CreateMagicEffect(mobile, 1, (short)target.X, (short)target.Y, new byte[] { 4, 0, 0, 0, 0, 0, 0, 0, 0, sprite }, 0).Compile()));
var tmp = new QueDele(LKCamelot.Server.tickcount.ElapsedMilliseconds + time, map, new DeleteObject(mobile).Compile());
tmp.tempser = mobile;
World.TickQue.Add(tmp);
}
示例3: WildDog
public WildDog(Serial temps, int x, int y, string map)
: this(temps)
{
m_MonsterID = 27;
m_Loc = new Point2D(x, y);
m_SpawnLoc = new Point2D(m_Loc.X, m_Loc.Y);
m_Map = map;
m_Serial = temps;
}
示例4: iButcherGreen
public iButcherGreen(Serial temp, int x, int y, string map)
: this(temp)
{
m_MonsterID = 8;
m_Loc = new Point2D(x, y);
m_SpawnLoc = new Point2D(m_Loc.X, m_Loc.Y);
m_Map = map;
m_Serial = temp;
}
示例5: NeoGreatStone
public NeoGreatStone(Serial temp, int x, int y, string map)
: this(temp)
{
m_MonsterID = 6;
m_Loc = new Point2D(x, y);
m_SpawnLoc = new Point2D(m_Loc.X, m_Loc.Y);
m_Map = map;
m_Serial = temp;
}
示例6: HoundsOfDoom
public HoundsOfDoom(Serial temp, int x, int y, string map)
: this(temp)
{
m_MonsterID = 19;
m_Loc = new Point2D(x, y);
m_SpawnLoc = new Point2D(m_Loc.X, m_Loc.Y);
m_Map = map;
m_Serial = temp;
}
示例7: BoneDryRed
public BoneDryRed(Serial temp, int x, int y, string map)
: this(temp)
{
m_MonsterID = 24;
m_Loc = new Point2D(x, y);
m_SpawnLoc = new Point2D(m_Loc.X, m_Loc.Y);
m_Map = map;
m_Serial = temp;
}
示例8: NeoSkelEscottor
public NeoSkelEscottor(Serial temp, int x, int y, string map)
: this(temp)
{
m_MonsterID = 23;
m_Loc = new Point2D(x, y);
m_SpawnLoc = new Point2D(m_Loc.X, m_Loc.Y);
m_Map = map;
m_Serial = temp;
}
示例9: HeadCutter
public HeadCutter(Serial temp, int x, int y, string map)
: this(temp)
{
m_MonsterID = 30;
m_Loc = new Point2D(x, y);
m_SpawnLoc = new Point2D(m_Loc.X, m_Loc.Y);
m_Map = map;
m_Serial = temp;
}
示例10: WarBadGirl
public WarBadGirl(Serial temp, int x, int y, string map)
: this(temp)
{
m_MonsterID = 7;
m_Loc = new Point2D(x, y);
m_SpawnLoc = new Point2D(m_Loc.X, m_Loc.Y);
m_Map = map;
m_Serial = temp;
}
示例11: Skeleton
public Skeleton(Serial temp, int x, int y, string map)
: this(temp)
{
m_MonsterID = 1;
m_Loc = new Point2D(x, y);
m_SpawnLoc = new Point2D(m_Loc.X, m_Loc.Y);
m_Map = map;
m_Serial = temp;
}
示例12: BioRubber
public BioRubber(Serial temp, int x, int y, string map)
: this(temp)
{
m_MonsterID = 219;
m_Loc = new Point2D(x, y);
m_SpawnLoc = new Point2D(m_Loc.X, m_Loc.Y);
m_Map = map;
m_Serial = temp;
}
示例13: iHardBoil
public iHardBoil(Serial temp, int x, int y, string map)
: this(temp)
{
m_MonsterID = 28;
m_Loc = new Point2D(x, y);
m_SpawnLoc = new Point2D(m_Loc.X, m_Loc.Y);
m_Map = map;
m_Serial = temp;
}
示例14: iMummyBlue
public iMummyBlue(Serial temp, int x, int y, string map)
: this(temp)
{
m_MonsterID = 3;
m_Loc = new Point2D(x, y);
m_SpawnLoc = new Point2D(m_Loc.X, m_Loc.Y);
m_Map = map;
m_Serial = temp;
}
示例15: NeoWarDummy
public NeoWarDummy(Serial temp, int x, int y, string map)
: this(temp)
{
m_MonsterID = 14;
m_Loc = new Point2D(x, y);
m_SpawnLoc = new Point2D(m_Loc.X, m_Loc.Y);
m_Map = map;
m_Serial = temp;
}