Giter Club home page Giter Club logo

knapsack's Introduction

Knapsack

FOURTH

拖动物品时不再触发显示物品信息,被拖动的物体拥有最高显示优先级,丢弃物品 image  

THIRD

增加了根据物品权重整理背包的功能和相同物品叠加而不是原先的直接交换位置 image  

SECOND

把背包变成了多层的,加入了物品的类别,改写了物品类,物品属性在实例化时赋予,而不是原先创建N多类继承物品类,物品的使用效果方法统一放在GoodsMethod里 采用反射来调用。 image  

FIRST

实现一个基础的背包系统 包含:物品获得,堆叠物品,双击使用物品,鼠标移动到物品显示信息,交换物品的位置等 image

knapsack's People

Contributors

fzzx20080212 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.