动画编程基础例子.docVIP

  • 4
  • 0
  • 约1.28万字
  • 约 19页
  • 2018-11-19 发布于广东
  • 举报
动画编程基础例子.doc

c# 基 础 2015 using System; using System. Col lections. Generic; using System. Text; using System. Drawing; using System. Drawing. Imaging; namespace ZWDZJS { class Zombie { public Point location; public Tmage image; public int index; public int count; public int Lifezombie; public Zombie() { image = Resources. Zombie; count = image. GetFrameCount(FrameDimension. Time); Lifezombie = 300; } publ ic void Play() { index++; if (index == count) index = 0; image. SelectActivcFrame (FrameDimension. Time, index) ;//将?当i i A前i 备要。a显? 示°?的1?图a?片?“ “置?为a动态,?图a?片?的l?lndcx所’对?应《|的1?帧? ) public void move() {

文档评论(0)

1亿VIP精品文档

相关文档