ICode9

精准搜索请尝试: 精确搜索
  • Unity横版2D游戏学习实例(04)- 为角色添加动画&状态机&Blend Tree2021-12-29 23:33:54

    前言:到此为止角色已经实现了移动、跳跃、下蹲,接下来要给角色添加动画,使角色“动”起来。   一、添加动画 1. 在Project -> Asset中创建两个文件夹 Animation -> Player。 2. 打开工具栏window -> Animation -> Animation,把窗口拖到你觉得方便的位置。 3.在Hierarchy窗口中选中P

  • 【CF3C Tic-tac-toe】题解2021-12-23 19:04:32

    题目链接 题目 Certainly, everyone is familiar with tic-tac-toe game. The rules are very simple indeed. Two players take turns marking the cells in a 3 × 3 grid (one player always draws crosses, the other — noughts). The player who succeeds first in placin

  • vue+flvjs实现flv格式视频流在线播放2021-12-23 17:05:02

      因项目需求,而flash又不受欢迎,故借助 flvjs 来实现flv格式视频流在线播放,具体解决方案如下: 1、安装 flvjs :npm install --save flv.js 2、引用:import flvjs from 'flv.js' 3、HTML代码: <div class="video-box" v-for="(video,index) in videoList" :key="index">

  • 解决小程序直播组件live-player全屏问题2021-12-22 15:00:52

    链接: 官网live-player. 小程序自带组件live-player并没有提供全屏按钮,需要自己手写全屏和退出全屏 实现思路:点击视频 显示放大图标 点击放大和缩小图标 调用对应api 代码 wxml <view bindtap="showFull"> <view class="live-video" bindtap="showFull"> <live-player

  • VM Player打开虚拟机提示开机出错,vmware player无法连接虚拟机2021-12-21 19:02:54

      报错内容     因为不想重启电脑,本来想安装VM更新来解决,安装更新时提示还有进程没有关闭 打开任务管理器 查看详细信息,可以看到好几个vm开头的exe在运行,关闭,也不更新VM了,重新打开虚拟机,成功了   类似参考 开机时出错: VMware Player无法连接到虚拟机怎么办_WILDCHAP_的博客

  • day16-斗地主作业2021-12-20 21:03:19

    斗地主 import random def Landlords(): poker = ['大王', '小王', '♠2', '♥2', '♣2', '♦2', '♠A', '♥A', '♣A', '♦A', '♠K', '♥K', &#

  • 【CF2A Winner】题解2021-12-20 19:03:40

    题目链接 题目 The winner of the card game popular in Berland "Berlogging" is determined according to the following rules. If at the end of the game there is only one player with the maximum number of points, he is the winner. The situation becomes mor

  • Python学习demo01 创建牌->洗牌->发牌->整理牌2021-12-18 15:02:42

    """ 启动后输入玩家数量和扑克牌副数,创建牌->洗牌->发牌->整理牌 """ import random puke = ['3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q',

  • 实验5 模板类与多态2021-12-17 20:32:48

    实验任务2 <Person.hpp> #include <iostream> #include <fstream> #include <vector> #include<string> #include<iomanip> using namespace std; class Person { private: string name; string telephone; string email; publi

  • UP主M_Studio教程笔记:概述(一)2021-12-15 16:00:35

    2D地图制作: 素材导入:Window ->  AssetStore 打开工具:Window ->TilePalette->新建TilePalette操作器 素材设置:1Pixels Per Unit 根据实际设置   2SptiteMode设置为Multiple  3SpriteEditor对素材切割 素材导入新建的TilePalette操作器:切割好的素材从文件夹进入操作器需要设置

  • 实验5 模板类与多态2021-12-15 15:33:27

    T1: Person.hpp 1 #include<iostream> 2 #include<string> 3 using namespace std; 4 5 class Person { 6 public: 7 Person(){} 8 Person(string nm,string tel):name(nm),telephone(tel){} 9 void ChangeTel(string newTel) { 10

  • 实验5 模板类与多态2021-12-15 15:02:17

    实验任务2 source code in Person.hpp : 1 #include <iostream> 2 #include <iomanip> 3 4 using namespace std; 5 6 class Person 7 { 8 private: 9 string name; 10 string telephone; 11 string email; 12 13 public: 14 Person(){

  • 实验五 模板类与多态2021-12-15 13:33:00

    三、实验内容 2. 实验任务2 Person.hpp: #ifndef PERSON_TASK_HPP #define PERSON_TASK_HPP #include<iostream> #include<string> #include<iomanip> using namespace std; using std::ostream; using std::istream; class Person { public: Person() {}

  • 模板类与多态2021-12-15 12:35:50

    #ifndef _PERSON_HPP #define _PERSON_HPP #include<iostream> #include<string> using std::string; using std::ostream; using std::istream; using std::left; class Person { private: string name, tele, email; public: Person() { name =

  • 实验五 模板与多态2021-12-15 10:34:12

    1 #include<iostream> 2 #include<string> 3 #include<iomanip> 4 #include<vector> 5 #include<fstream> 6 using namespace std; 7 class Person{ 8 public: 9 Person(){}; 10 Person (string n,string t,strin

  • 实验五 模板类与多态2021-12-15 09:05:27

    Person.cpp #include <iostream> #include <fstream> #include <vector> using namespace std; class Person{ public: Person(); Person(string name0,string telphone0); Person(string name1,string telephone1,string e

  • 实验五2021-12-15 01:04:50

    task2.cpp #include <iostream> #include <fstream> #include <vector> #include "Person.hpp" int main() { using namespace std; vector<Person> phone_book; Person p; while(cin>>p) phone_book.pu

  • 实验52021-12-15 01:04:06

    task2 hpp #ifndef PERSON_HPP #define PERSON_HPP #include <iostream> #include <string> #include <iomanip> using namespace std; class Person{ public: Person()=default; Person(string a,string b,string c=0):name(a),telep

  • 实验五2021-12-14 23:04:29

       Person.hpp #ifndef Person_HPP #define Person_HPP #include <iostream> #include<string> #include<iomanip> //使用std命名空间 using std::cout; using std::endl; using std::ostream; using std::istream; using std::string; using std::left; usin

  • 实验5 模板类和多态2021-12-14 21:36:29

    任务2 模拟电话簿的信息添加、保存。 设计并实现一个类Person,用于保存一个人的联系方式,并支持一些基础操作。具体设计如下: 数据成员 name 用于保存姓名 telephone 用于保存手机号码 email 用于保存email邮箱 函数成员 默认构造函数 支持诸如 Person p; 这样构造对象。 带有参

  • 实验五 模板类与多态2021-12-14 21:32:15

    实验五 模板类与多态 四、实验结论 1.实验二 #ifndef PERSON_HPP #define PERSON_HPP #include <iostream> #include <string> #include <utility> using namespace std; class Person { private: string name; string telephone; string email; public:

  • 实验五2021-12-14 14:00:27

    Person.hpp #include<iostream> #include<string> using namespace std; class Person{ public: Person(){}; Person(string n, string t, string e = ""): name(n), telephone(t), email(e) {} ; Person(Person const

  • 实验五 模板类和多态2021-12-14 13:34:29

    task2 person.hpp #ifndef PERSON_H #define PERSON_H #include<iostream> using namespace std; class Person { public: Person(){} Person(string a,string b,string c="") { name=a; number=b;

  • 实验五 模板类与多态2021-12-14 13:00:40

    #ifndef Person_hpp #define Person_hpp #include<iostream> #include<string> #include<iomanip> using namespace std; class Person{ private: string name; string telephone; string email; public: Person()

  • 实验五 模板类与多态2021-12-13 19:36:20

    实验任务二 person.hpp #include<iostream> #include<string> #include<fstream> #include<iomanip> #include<limits> using namespace std; class person { public: person(){}; person(string n,string t,string e="&q

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有