コード例 #1
0
        public Bot(SPRWorld sprWord, Body body, Bot.Player player, Bot.Type type, SPRAI control, Texture2D texture, float width, float height, float health)
            : base(sprWord, body, texture, width, height, health)
        {
            this.m_player  = player;
            this.m_type    = type;
            this.m_Control = control;

            this.m_Weapons = new Weapon[4];
        }
コード例 #2
0
 public void setControl(SPRAI control)
 {
     m_Control = control;
 }