コード例 #1
0
ファイル: Entity.cs プロジェクト: terrynoya/xnamugen-1
 protected Entity(FightEngine engine)
     : base(engine)
 {
     DrawOrder           = 0;
     CurrentLocation     = new Vector2(0, 0);
     CurrentVelocity     = new Vector2(0, 0);
     CurrentAcceleration = new Vector2(0, 0);
     m_facing            = Facing.Right;
     CurrentFlip         = SpriteEffects.None;
     CurrentScale        = new Vector2(1, 1);
     Transparency        = new Blending();
     m_afterimages       = new AfterImage(this);
     DrawingAngle        = 0;
 }
コード例 #2
0
ファイル: Entity.cs プロジェクト: xubingyue/xnamugen
 protected Entity(FightEngine engine)
     : base(engine)
 {
     m_draworder    = 0;
     m_location     = new Vector2(0, 0);
     m_velocity     = new Vector2(0, 0);
     m_acceleration = new Vector2(0, 0);
     m_facing       = Facing.Right;
     m_flip         = SpriteEffects.None;
     m_scale        = new Vector2(1, 1);
     m_blending     = new Blending();
     m_afterimages  = new AfterImage(this);
     m_drawingangle = 0;
 }
コード例 #3
0
ファイル: Entity.cs プロジェクト: lodossDev/xnamugen
		protected Entity(FightEngine engine)
			: base(engine)
		{
			m_draworder = 0;
			m_location = new Vector2(0, 0);
			m_velocity = new Vector2(0, 0);
			m_acceleration = new Vector2(0, 0);
			m_facing = Facing.Right;
			m_flip = SpriteEffects.None;
			m_scale = new Vector2(1, 1);
			m_blending = new Blending();
			m_afterimages = new AfterImage(this);
			m_drawingangle = 0;
		}