fileCell.h
  0
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
/*
*  Cell.h
*
*  Created by Daisuke Nogami on Nov, 05.
*  opyright 2005 Daisuke Nogami [null-null.net]. Some rights reserved.
*/
 
#pragma once
 
class Cell{
public:
  int _ID;
 
  float xpos, ypos;
  float txpos, typos;
  float size, tsize;
 
  float nextx, nexty; // airstream
  float addx, addy; // rain
  float pow, nextpow; // airstream [interact]
  float flow; // rain [interact]
  
 
  Cell();
  Cell( float xpos, float ypos, float size, int _ID );
  void init( float xpos, float ypos, float size, int _ID );
  void update();
  void draw();
  void next( float nx, float ny );
  void add( float ax, float ay );
};
[トップ] [一覧] [最終更新] [検索] [バックアップ]