示例#1
0
        public Bullet(Vector2 position, Vector2 velocity)
            : base(3)
        {
            Position     = position;
            ellipseShape = new Ellipse(0, 0, 3, 3);
            m_Velocity   = velocity;

            m_BulletStyleSheet = new BulletStyleSheet();
        }
示例#2
0
        public Bullet(IVector <T> position, IVector <T> Velocity)
            : base(3)
        {
            Position   = position;
            m_Shape    = new Ellipse <T>(0, 0, 3, 3);
            m_Velocity = Velocity;

            m_BulletStyleSheet = new BulletStyleSheet <T>();
        }